Skip to content

Commit 9c95e3a

Browse files
Apply suggestions from code review
Co-authored-by: Jerel Miller <jerelmiller@gmail.com>
1 parent 6ae629e commit 9c95e3a

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/source/data/defer.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ Instead, you need to configure the incremental delivery format handler you want
136136

137137
Apollo Client provides the following incremental delivery handlers that are all exported from `@apollo/client/incremental`:
138138

139-
- `NotImplementedHandler` (default) - Does not support incremental delivery
140-
- `Defer20220824Handler` - Implements the `@defer` transport format that ships with Apollo Router
139+
- `NotImplementedHandler` (default) - Throws when `@defer` is detected
140+
- `Defer20220824Handler` - Implements the `@defer` transport format that ships with [Apollo Router](https://www.apollographql.com/docs/graphos/routing/operations/defer)
141141
- `GraphQL17Alpha2Handler` - Implements the `@defer` transport format that ships with GraphQL 17.0.0-alpha.2
142142

143143
<Note>
@@ -161,7 +161,7 @@ const client = new ApolloClient({
161161
});
162162
```
163163

164-
Without configuring an incremental handler, trying to use the `@defer` directive will result in an error.
164+
Without configuring an incremental handler, using the `@defer` directive results in an error.
165165

166166
## Usage in React Native
167167

docs/source/data/fragments.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ And that's it! Suspense made our `Item` component a bit more succinct since we n
659659
660660
### Using `useSuspenseFragment` with `@defer`
661661
662-
`useSuspenseFragment` is helpful when combined with [`@defer`](./defer) to show a loading state while the fragment data is streamed to the query. Let's update our `GetItemList` query to defer loading the `ItemFragment`'s fields.
662+
`useSuspenseFragment` is helpful when combined with the [`@defer`](./defer) directive to show a loading state while the fragment data is streamed to the query. Let's update our `GetItemList` query to defer loading the `ItemFragment`'s fields.
663663
664664
```graphql
665665
query GetItemList {

docs/source/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Apollo Client works seamlessly with these GraphOS router supported features:
3434

3535
<Note>
3636

37-
Apollo Client also supports `@defer` and GraphQL subscription implementations outside of GraphOS. See the [@defer docs](./data/defer) and [subscriptions docs](./data/subscriptions) for more information.
37+
Apollo Client also supports `@defer` and GraphQL subscription implementations outside of GraphOS. See the [Defer](./data/defer) guide and [Subscriptions](./data/subscriptions) guide for more information.
3838

3939
</Note>
4040

0 commit comments

Comments
 (0)