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