MCPcopy
hub / github.com/TanStack/query / useInfiniteQuery

Function useInfiniteQuery

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

Source from the content-addressed store, hash-verified

70): UseInfiniteQueryResult<TData, TError>
71
72export function useInfiniteQuery(
73 options: UseInfiniteQueryOptions,
74 queryClient?: QueryClient,
75) {
76 return useBaseQuery(
77 options,
78 InfiniteQueryObserver as typeof QueryObserver,
79 queryClient,
80 )
81}

Callers 14

useAlgoliaFunction · 0.90
useAlgoliaFunction · 0.90
ExamplesFunction · 0.90
ExamplesFunction · 0.90
ExampleFunction · 0.90
useAlgoliaFunction · 0.90
ExampleFunction · 0.90
PageFunction · 0.50
PageFunction · 0.50
ListFunction · 0.50

Calls 1

useBaseQueryFunction · 0.90

Tested by 5

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

Used in the wild real call sites across dependent graphs

searching dependent graphs…