|
Download react-query/docs/framework/react/reference/infiniteQueryOptions.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 598 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/docs/framework/react/reference/infiniteQueryOptions.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/docs/framework/react/reference/infiniteQueryOptions.md
-
curl -L -o infiniteQueryOptions.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/docs/framework/react/reference/infiniteQueryOptions.md
598 Bytes
| id: infiniteQueryOptions | |
| title: infiniteQueryOptions | |
| ```tsx | |
| infiniteQueryOptions({ | |
| queryKey, | |
| ...options, | |
| }) | |
| ``` | |
| **Options** | |
| You can generally pass everything to `infiniteQueryOptions` that you can also pass to [`useInfiniteQuery`](../useInfiniteQuery.md). 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. | |
| See [useInfiniteQuery](../useInfiniteQuery.md) for more information. | |