Server: Phase 2 (REVIEW not respected yet)
This commit is contained in:
1 parent
5d16ded553
commit
142b47674d
4271 files changed
+1203269
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
import * as React from "react";
|
||||
//#region src/IsRestoringProvider.d.ts
|
||||
/**
|
||||
* If you are using `PersistQueryClientProvider`, you can also use the `useIsRestoring` hook alongside it to
|
||||
* check if a restore is currently in progress. `useQuery` and friends also check this internally to avoid
|
||||
* race conditions between the restore and mounting queries.
|
||||
*
|
||||
* @returns `true` while a persisted client is being restored, `false` otherwise.
|
||||
*/
|
||||
declare const useIsRestoring: () => boolean;
|
||||
/**
|
||||
* The Provider that `PersistQueryClientProvider` uses to signal whether a persisted client is currently
|
||||
* being restored, read by `useIsRestoring`.
|
||||
*/
|
||||
declare const IsRestoringProvider: React.Provider<boolean>;
|
||||
//#endregion
|
||||
export { IsRestoringProvider, useIsRestoring };
|
||||
//# sourceMappingURL=IsRestoringProvider.d.ts.map
|
||||
Reference in new issue
Block a user