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
Copy file name to clipboardExpand all lines: docs/src/pages/docs/api.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ const queryInfo = useQuery({
56
56
- **Required**
57
57
- The query key to use for this query.
58
58
- If a string is passed, it will be used as the query key.
59
-
- If a `[String, ...any]` array is passed, each item will be serialized into a stable query key. See [Query Keys](#query-keys) for more information.
59
+
- If a `[String, ...any]` array is passed, each item will be serialized into a stable query key. See [Query Keys](./guides/queries#query-keys) for more information.
60
60
- The query will automatically update when this key changes (as long as `enabled` is not set to `false`).
- `queryKeyOrPredicateFn` can either be a [Query Key](#query-keys) or a `function`
445
445
- `queryKey: QueryKey`
446
-
- If a query key is passed, queries will be filtered to those where this query key is included in the existing query's query key. This means that if you passed a query key of `'todos'`, it would match queries with the `todos`, `['todos']`, and `['todos', 5]`. See [Query Keys](#query-keys) for more information.
446
+
- If a query key is passed, queries will be filtered to those where this query key is included in the existing query's query key. This means that if you passed a query key of `'todos'`, it would match queries with the `todos`, `['todos']`, and `['todos', 5]`. See [Query Keys](./guides/queries#query-keys) for more information.
447
447
- `Function(query) => Boolean`
448
448
- This predicate function will be called for every single query in the cache and be expected to return truthy for queries that are `found`.
449
449
- The `exact` option has no effect with using a function
- `queryKeyOrPredicateFn` can either be a [Query Key](#query-keys) or a `function`
482
482
- `queryKey`
483
-
- If a query key is passed, queries will be filtered to those where this query key is included in the existing query's query key. This means that if you passed a query key of `'todos'`, it would match queries with the `todos`, `['todos']`, and `['todos', 5]`. See [Query Keys](#query-keys) for more information.
483
+
- If a query key is passed, queries will be filtered to those where this query key is included in the existing query's query key. This means that if you passed a query key of `'todos'`, it would match queries with the `todos`, `['todos']`, and `['todos', 5]`. See [Query Keys](./guides/queries#query-keys) for more information.
484
484
- `Function(query) => Boolean`
485
485
- This predicate function will be called for every single query in the cache and be expected to return truthy for queries that are `found`.
486
486
- The `exact` option has no effect with using a function
- `queryKeyOrPredicateFn` can either be a [Query Key](#query-keys) or a `function`
509
509
- `queryKey`
510
-
- If a query key is passed, queries will be filtered to those where this query key is included in the existing query's query key. This means that if you passed a query key of `'todos'`, it would match queries with the `todos`, `['todos']`, and `['todos', 5]`. See [Query Keys](#query-keys) for more information.
510
+
- If a query key is passed, queries will be filtered to those where this query key is included in the existing query's query key. This means that if you passed a query key of `'todos'`, it would match queries with the `todos`, `['todos']`, and `['todos', 5]`. See [Query Keys](./guides/queries#query-keys) for more information.
511
511
- `Function(query) => Boolean`
512
512
- This predicate function will be called for every single query in the cache and be expected to return truthy for queries that are `found`.
513
513
- The `exact` option has no effect with using a function
Copy file name to clipboardExpand all lines: docs/src/pages/docs/guides/ssr.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ This approach works well for applications or user-specific pages that might cont
11
11
12
12
## Pre-rendering
13
13
14
-
If the page and its data needs to be rendered on the server, React Query comes build in with mechanisms to support this use case. The exact implementation of these mechanisms may vary from platform to platform, but we recommend starting with Next.js which supports [2 forms of pre-rendering](https://nextjs.org/docs/basic-features/data-fetching):
14
+
If the page and its data needs to be rendered on the server, React Query comes built in with mechanisms to support this use case. The exact implementation of these mechanisms may vary from platform to platform, but we recommend starting with Next.js which supports [2 forms of pre-rendering](https://nextjs.org/docs/basic-features/data-fetching):
0 commit comments