MCPcopy Create free account
hub / github.com/TanStack/query / useInfiniteQuery

Function useInfiniteQuery

packages/preact-query/src/useInfiniteQuery.ts:192–201  ·  view source on GitHub ↗
(
  options: UseInfiniteQueryOptions,
  queryClient?: QueryClient,
)

Source from the content-addressed store, hash-verified

190): UseInfiniteQueryResult<TData, TError>
191
192export function useInfiniteQuery(
193 options: UseInfiniteQueryOptions,
194 queryClient?: QueryClient,
195) {
196 return useBaseQuery(
197 options,
198 InfiniteQueryObserver as typeof QueryObserver,
199 queryClient,
200 )
201}

Callers 6

PageFunction · 0.50
PageFunction · 0.50
ListFunction · 0.50
InnerFunction · 0.50

Calls 1

useBaseQueryFunction · 0.90

Tested by 4

PageFunction · 0.40
PageFunction · 0.40
ListFunction · 0.40
InnerFunction · 0.40