overleaf/services/web/frontend/js/shared/context
Antoine Clausse 6a6f155029 [web] Use React hooks to get split-test variants instead of getSplitTestVariant (getMeta) (#18133)
* Fix split-tests loading in React component: use `useSplitTestContext` instead of `getSplitTestVariant`

* Replace use of `isSplitTestEnabled` by `useSplitTestContext`

* Add SplitTestProvider to roots, and fix tests

* Create `useFeatureFlag` hook

* Use `useFeatureFlag` where applicable

GitOrigin-RevId: 9ff7bb3975d50bc4d07d74d93c482d56dc96f615
2024-05-01 08:04:55 +00:00
..
controllers
mock
detach-compile-context.tsx Merge pull request #17909 from overleaf/ac-tear-down-compile-timeout-tests-2 2024-04-16 08:04:08 +00:00
detach-context.tsx
editor-context.tsx Merge pull request #17008 from overleaf/jpa-jdt-wf-consent-init 2024-02-19 09:03:38 +00:00
file-tree-data-context.tsx
ide-angular-provider.tsx
ide-context.tsx
layout-context.tsx
local-compile-context.tsx [web] Use React hooks to get split-test variants instead of getSplitTestVariant (getMeta) (#18133) 2024-05-01 08:04:55 +00:00
project-context.tsx Merge pull request #17909 from overleaf/ac-tear-down-compile-timeout-tests-2 2024-04-16 08:04:08 +00:00
root-context.tsx
split-test-context.tsx [web] Use React hooks to get split-test variants instead of getSplitTestVariant (getMeta) (#18133) 2024-05-01 08:04:55 +00:00
user-context.tsx
user-settings-context.tsx