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
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]>
Copy file name to clipboardExpand all lines: docs/source/data/queries.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -188,7 +188,7 @@ We've already seen that the `useQuery` hook exposes our query's current loading
188
188
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?
189
189
190
190
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:
0 commit comments