Skip to content

Commit 9d266bd

Browse files
Thomas Alberolaalessbell
Thomas Alberola
andauthoredDec 18, 2023
docs: queries > update link to suspense doc (#11269)
* docs: queries > update link to suspense doc * chore: fix relative path to Suspense page in link from Queries docs page --------- Co-authored-by: Alessia Bellisario <github@bellisar.io>
1 parent 7f9edb7 commit 9d266bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/source/data/queries.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This article also assumes that you've already set up Apollo Client and have wrap
2020

2121
The `useQuery` [React hook](https://react.dev/reference/react) is the primary API for executing queries in an Apollo application. To run a query within a React component, call `useQuery` and pass it a GraphQL query string. When your component renders, `useQuery` returns an object from Apollo Client that contains `loading`, `error`, and `data` properties you can use to render your UI.
2222

23-
> **Note:** in Apollo Client >= 3.8, Suspense data fetching hooks are available for querying data within `<Suspense />` boundaries using React 18's new concurrent rendering model. For more information see Apollo Client's [Suspense docs](../suspense/).
23+
> **Note:** in Apollo Client >= 3.8, Suspense data fetching hooks are available for querying data within `<Suspense />` boundaries using React 18's new concurrent rendering model. For more information see Apollo Client's [Suspense docs](./suspense/).
2424
2525
Let's look at an example. First, we'll create a GraphQL query named `GET_DOGS`. Remember to wrap query strings in the `gql` function to parse them into query documents:
2626

0 commit comments

Comments
 (0)
Please sign in to comment.