Skip to content

Commit d4928e8

Browse files
jpvajdasharils
andauthored
Reduce confusion about the query component (#9747)
* Reduce confusion about the query component The query component has never been mentioned in the page, to reduce confusion, a link to its page would explain that it’s deprecated * empty commit to kick off checks Co-authored-by: sharils <[email protected]>
1 parent 297cfec commit d4928e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/data/queries.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ We've already seen that the `useQuery` hook exposes our query's current loading
188188
Let's return to our refetching example from the previous section. If you click the refetch button, you'll see that the component doesn't re-render until the new data arrives. What if we want to indicate to the user that we're refetching the photo?
189189

190190
The `useQuery` hook's result object provides fine-grained information about the status of the query via the `networkStatus` property. To take advantage
191-
of this information, we set the `notifyOnNetworkStatusChange` option to `true` so our query component re-renders while a refetch is in flight:
191+
of this information, we set the `notifyOnNetworkStatusChange` option to `true` so our [query component](../api/react/components/ "Components - Client (React) - Apollo GraphQL Docs") re-renders while a refetch is in flight:
192192

193193
```jsx title="index.js" {4,8,12}
194194
import { NetworkStatus } from '@apollo/client';

0 commit comments

Comments
 (0)