Build a pre-configured TanStack QueryClient with the workspace defaults applied. Use at app boot if you don't already have a QueryClient of your own.
QueryClient
Additional QueryClient config merged on top of the workspace defaults.
import { QueryClientProvider } from "@tanstack/react-query";import { makeQueryClient } from "@playlive/react-query/config";const qc = makeQueryClient();<QueryClientProvider client={qc}> <App /></QueryClientProvider> Copy
import { QueryClientProvider } from "@tanstack/react-query";import { makeQueryClient } from "@playlive/react-query/config";const qc = makeQueryClient();<QueryClientProvider client={qc}> <App /></QueryClientProvider>
Build a pre-configured TanStack QueryClient with the workspace defaults applied. Use at app boot if you don't already have a
QueryClientof your own.