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) 411 B
import type { MutationKey, MutationFilters } from '@tanstack/query-core'; import type { ContextOptions } from './types'; interface Options extends ContextOptions { } export declare function useIsMutating(filters?: MutationFilters, options?: Options): number; export declare function useIsMutating(mutationKey?: MutationKey, filters?: Omit<MutationFilters, 'mutationKey'>, options?: Options): number; export {};