Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

infiniteQueryOptions.md

21 lines521 Bytes

infiniteQueryOptions({
  queryKey,
  ...options,
})

Options

You can generally pass everything to infiniteQueryOptions that you can also pass to useInfiniteQuery. These options can be shared across hooks and imperative APIs such as queryClient.infiniteQuery.

  • queryKey: QueryKey
    • Required
    • The query key to generate options for.

See useInfiniteQuery for more information.