@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 • 349 B
JavaScript
'use client';
import { InfiniteQueryObserver, parseQueryArgs } from '@tanstack/query-core';
import { useBaseQuery } from './useBaseQuery';
export function useInfiniteQuery(arg1, arg2, arg3) {
const options = parseQueryArgs(arg1, arg2, arg3);
return useBaseQuery(options, InfiniteQueryObserver);
}
//# sourceMappingURL=useInfiniteQuery.js.map