overleaf/services/web/frontend/js/features/settings
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
..
components [web] Use React hooks to get split-test variants instead of getSplitTestVariant (getMeta) (#18133) 2024-05-01 08:04:55 +00:00
context Merge pull request #13164 from overleaf/msm-email-limit 2023-05-29 08:04:04 +00:00
data Merge pull request #7841 from overleaf/ii-refactor-add-email 2022-05-12 08:03:29 +00:00
utils Merge pull request #8226 from overleaf/ae-remaining-types 2022-06-01 08:03:29 +00:00
domain-blocklist.ts Merge pull request #17525 from overleaf/ae-upgrade-prettier 2024-03-26 09:04:05 +00:00