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

Set React Query default in query client

    • False
    • Hide

      None

      Show
      None
    • False
    • XCMSTRAT-589 - [Internal Preview] OCM console can connect to regional OCM instances to manage cluster lifecycle
    • 1
    • ACM Console Sprint 259

      Instead of having common query values like staleTime, refetchOnMount, and refetchInterval set for every single query, they are set as defaults within the QueryClient

      As part of this task:

      • The following defaults are set in the queryClient:
      defaultOptions: {    
           queries: {      staleTime: 30000,      refetchOnMount: 'always',      refetchInterval: false,    },  
      } 
      • staleTime, refetchOnMount and refetchInterval options for each query that are the same as defauts above are revmoed.

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

                Created:
                Updated:
                Resolved: