MCPcopy Create free account
hub / github.com/TanStack/db / makeQueryClient

Function makeQueryClient

packages/query-db-collection/tests/query.test.ts:4968–4973  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4966 // from both the live collection and the persisted store.
4967 const queryKey = [`reload-insert-cleanup`]
4968 const makeQueryClient = () =>
4969 new QueryClient({
4970 defaultOptions: {
4971 queries: { staleTime: 0, gcTime: 5 * 60 * 1000, retry: false },
4972 },
4973 })
4974
4975 // The shared on-device store, surviving across the two sessions.
4976 const adapter = createPersistedQueryAdapter<CategorisedItem>({})

Callers 1

query.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected