-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
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.