mirror of
https://github.com/TanStack/query.git
synced 2026-11-16 22:50:20 +00:00
TanStack Router uses path-based navigation instead of route-based navigation, so many of the relative documentation links will be invalid after migration. This fixes that.
517 B
517 B
| 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.