Skip to content

Commit

Permalink
Merge pull request #4906 from imjared/patch-1
Browse files Browse the repository at this point in the history
Update usage.md with updated Apollo client details
  • Loading branch information
rmosolgo authored Apr 10, 2024
2 parents 24f797a + 8303415 commit 5fff096
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions guides/defer/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ query GetPlayerInfo($handle: String!){

The directives `@skip` and `@include` are built into any GraphQL server and client, but `@defer` requires special attention.

Apollo-Client has [experimental support](https://www.apollographql.com/docs/react/features/defer-support.html)
but it may [have some issues](https://github.com/apollographql/apollo-client/issues/4484), so you can try [this updated fork](https://github.com/rmosolgo/apollo-client) while they're worked out.
Apollo-Client [currently supports the @defer directive](https://www.apollographql.com/docs/react/data/defer/).

`@defer` also accepts a `label:` option which will be included in outgoing patches when it's present in the query (eg, `@defer(label: "patch1")`).

Expand Down

0 comments on commit 5fff096

Please sign in to comment.