Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/framework/react/reference/useInfiniteQuery.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -88,7 +88,9 @@ The returned properties for `useInfiniteQuery` are identical to the [`useQuery`
- Will be `true` if the query failed while refetching a page.
- `promise: Promise<TData>`
- A stable promise that resolves to the query result.
[//]: # 'ReactUse'
- This can be used with `React.use()` to fetch data
[//]: # 'ReactUse'
- Requires the `experimental_prefetchInRender` feature flag to be enabled on the `QueryClient`.

Keep in mind that imperative fetch calls, such as `fetchNextPage`, may interfere with the default refetch behaviour, resulting in outdated data. Make sure to call these functions only in response to user actions, or add conditions like `hasNextPage && !isFetching`.
3 changes: 3 additions & 0 deletions docs/framework/vue/reference/useInfiniteQuery.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -4,3 +4,6 @@ title: useInfiniteQuery
ref: docs/framework/react/reference/useInfiniteQuery.md
replace: { '@tanstack/react-query': '@tanstack/vue-query' }
---

[//]: # 'ReactUse'
[//]: # 'ReactUse'
Loading