UNPKG

@tanstack/react-query

Version:

Hooks for managing, caching and syncing asynchronous and remote data in React

10 lines (7 loc) 332 B
'use client'; import * as React from 'react'; const IsRestoringContext = /*#__PURE__*/React.createContext(false); const useIsRestoring = () => React.useContext(IsRestoringContext); const IsRestoringProvider = IsRestoringContext.Provider; export { IsRestoringProvider, useIsRestoring }; //# sourceMappingURL=isRestoring.esm.js.map