Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-2987

Change feature gates to use React Query

    • Strategic Investments
    • 3
    • False
    • Hide

      None

      Show
      None
    • 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

              kdoberst Kim Doberstein
              kdoberst Kim Doberstein
              Jason Loss Jason Loss
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: