UNPKG

@preact-signals/query

Version:

A reactive utility for React/Preact that simplifies the handling of data fetching and state management. Powered by Preact Signals, it provides hooks and functions to create reactive resources and manage their state seamlessly.

6 lines (5 loc) 286 B
import { ReadonlySignal } from "@preact-signals/unified-signals"; import * as React from "react"; export declare const useIsRestoring$: () => ReadonlySignal<boolean>; export declare const useIsRestoring: () => boolean; export declare const IsRestoringProvider: React.Provider<boolean>;