You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how would you approach using Apollo outside Templates?
For now I'm using the apolloClient, instantiated with new ApolloClient(config) directly. The biggest disadvantage is, however, that you don't have reactiveness using Tracker out of the box.
My use-case is using a mutation inside a function in many places.
The text was updated successfully, but these errors were encountered:
At the moment we also use the ApolloClient directly. But I understand your use case. The gqlQuery is tightly coupled with the Template.prototype at the moment but we might be able to "disconnect" it and make the reactive Result available outside of templates.
I'm quite busy at the moment but I'll look into it when I have the time.
Hello,
how would you approach using Apollo outside Templates?
For now I'm using the apolloClient, instantiated with
new ApolloClient(config)
directly. The biggest disadvantage is, however, that you don't have reactiveness using Tracker out of the box.My use-case is using a mutation inside a function in many places.
The text was updated successfully, but these errors were encountered: