You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- This function allows you to fetch the next "page" of results.
258
261
- `fetchMoreVariableOverride` allows you to optionally override the fetch more variable returned from your `getFetchMore` option to your query function to retrieve the next page of results.
259
262
- `canFetchMore:Boolean`
@@ -391,7 +394,7 @@ try {
391
394
392
395
**Returns**
393
396
394
-
- `Promise<TResult>`
397
+
- `Promise<TData>`
395
398
396
399
## `queryCache.prefetchQuery`
397
400
@@ -436,7 +439,7 @@ The options for `prefetchQuery` are exactly the same as those of [`useQuery`](#u
436
439
437
440
**Returns**
438
441
439
-
- `Promise<TResult|undefined>`
442
+
- `Promise<TData|undefined>`
440
443
- A promise is returned that will either immediately resolve with the query's cached response data, or resolve to the data returned by the fetch function. It **will not** throw an error if the fetch fails. This can be configured by setting the `throwOnError` option to `true`.
441
444
442
445
## `queryCache.getQueryData`
@@ -837,16 +840,16 @@ function App() {
837
840
-`queryCache: QueryCache`
838
841
- Instance of QueryCache.
839
842
840
-
## `ReactQueryErrorResetBoundary`
843
+
## `QueryErrorResetBoundary`
841
844
842
-
When using **suspense** or **useErrorBoundaries** in your queries, you need a way to let queries know that you want to try again when re-rendering after some error occured. With the `ReactQueryErrorResetBoundary` component you can reset any query errors within the boundaries of the component.
845
+
When using **suspense** or **useErrorBoundaries** in your queries, you need a way to let queries know that you want to try again when re-rendering after some error occured. With the `QueryErrorResetBoundary` component you can reset any query errors within the boundaries of the component.
0 commit comments