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.

8 lines (7 loc) 372 B
import type { QueryKey, QueryFilters } from '@tanstack/query-core'; import type { ContextOptions } from './types'; interface Options extends ContextOptions { } export declare function useIsFetching(filters?: QueryFilters, options?: Options): number; export declare function useIsFetching(queryKey?: QueryKey, filters?: QueryFilters, options?: Options): number; export {};