-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
Strategic Investments
-
3
-
False
-
-
False
-
-
-
OCMUI Center Team Sprint 266
Description
Because we get the feature gate information from an API call, the most appropriate way to fetch and manage this information is through React Query.
This should have a lower impact change because the code currently only uses the useFeatureGate hook, which can easily be converted to React Query.
Technical tasks
Add code so that useFeatureGate pulls from React Query
When the app loads, use React Query to pull information about all feature gates and put into React Query
Set React Query so it doesn't make a new API call everytime useFeatureGate is called
Remove old Feature gate API calls, Redux actions, Redux reducers