This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 786
Document client prop #1588
Labels
docs
Focuses on documentation changes
Comments
That would be great! We currently have a use case where we need to talk to more than one client, so that would make things cleaner. |
The following code line from current version (2.1.9) and both
You would use like:
The feature is not documented though. |
lorensr
changed the title
[enhancement 2.1] Add client option to new <Query>
Document client prop
Oct 15, 2018
Please PR any docs you would like to see. Client prop is definitely not going away. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Support for the client option on old-school
graphql()
queries is absent from <Query>.graphql()
options<Query>
optionsThis may have happened because the client option was never documented.
The original author of the
client
option PR was silent for 6 months, then posted this, indicating that he's no longer interested in working on it.If the
client
option is deprecated, it would probably be good to post something, including a comment on the PR above so that subscribers see it, and a recommended approach to addressing a requirement for multiple clients.The best way forward may be influenced by the functionality provided by the
QueryRecyclerProvider
in<ApolloProvider>
; I'm afraid I don't understand what it does.(Thanks!)
The text was updated successfully, but these errors were encountered: