Recommended approach to using vue-apollo with vue-rx/RxJS? #268
Unanswered
bramvanneerven
asked this question in
Q&A
Replies: 2 comments
-
Adding @johnlindquist to this issue, as he might have some good ideas about this too! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Any fix for this one? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey @Akryum,
First of all, fantastic library. I really like GraphQL and being able to use it with Vue is great!
I have a question regarding using this library with
vue-rx
/RxJS
. InRxJS
we’d do something like this (obtained from: apollographql/apollo-client#2788):Can you give some guidance on how to use this approach with
vue-apollo
?I thought I read the
apollo-client
uses observables under the hood. They only provide an Angular example as part of the docs for implementing it though (apollo docs).Is there a recommended approach to using
vue-apollo
together withvue-rx
?Also, the link referenced inREADME.md
regarding thewatchQuery
API seems broken:> You can use the apollowatchQuery
options in the object, like:> -fetchPolicy
> -pollInterval
> - ...>> See the apollo doc for more details.Fixed! 🎉
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions