Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

IsRestoringProvider.md

15 lines537 Bytes

1---
2id: IsRestoringProvider
3title: IsRestoringProvider
4---
5​
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7​
8```ts
9const IsRestoringProvider: ContextProviderComponent<Accessor<boolean>> = IsRestoringContext.Provider;
10```
11​
12Defined in: [packages/solid-query/src/isRestoring.ts:18](https://github.com/TanStack/query/blob/main/packages/solid-query/src/isRestoring.ts#L18)
13​
14The Provider that `PersistQueryClientProvider` uses to signal whether a persisted client is currently
15being restored, read by `useIsRestoring`.