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.

4 lines 444 B
import type { QueryKey, QueryObserver, QueryObserverResult } from "@tanstack/query-core"; import type { UseBaseQueryOptions } from "./types.ts"; export declare function useBaseQuery<TQueryFnData, TError, TData, TQueryData, TQueryKey extends QueryKey>(options: UseBaseQueryOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey>, Observer: typeof QueryObserver): QueryObserverResult<TData, TError>; //# sourceMappingURL=useBaseQuery.d.ts.map