Skip to content

Files

Latest commit

 

History

History
19 lines (15 loc) · 527 Bytes

infiniteQueryOptions.md

File metadata and controls

19 lines (15 loc) · 527 Bytes
id title
infiniteQueryOptions
infiniteQueryOptions
infiniteQueryOptions({
  queryKey,
  ...options,
})

Options

You can generally pass everything to queryOptions that you can also pass to useInfiniteQuery. Some options will have no effect when then forwarded to a function like queryClient.prefetchInfiniteQuery, but TypeScript will still be fine with those excess properties.

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