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

Function useIsRestoring

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

Source from the content-addressed store, hash-verified

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

Callers 3

useBaseQueryFunction · 0.90
useQueriesFunction · 0.90
MoviesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected