MCPcopy Create free account
hub / github.com/TanStack/query / useIsRestoring

Function useIsRestoring

packages/preact-query/src/IsRestoringProvider.ts:13–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 * @returns `true` while a persisted client is being restored, `false` otherwise.
12 */
13export const useIsRestoring = () => useContext(IsRestoringContext)
14
15/**
16 * The Provider that `PersistQueryClientProvider` uses to signal whether a persisted client is currently

Callers 2

useBaseQueryFunction · 0.90
useQueriesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected