Replies: 1 comment
-
https://www.apollographql.com/docs/react/caching/overview/ |
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
-
Hello, I am new to graphql and I am trying to use vue-apollo to perform a query, I already managed to do my first query with smart query so far so good ... but I have a problem, I am making a query on the
/
path now If I change the route without refreshing the browser to/about
and then return to the/
route again, the query is not made again and I don't really know why it happens, it is as if there werekeep-alive
but not there are.The only thing I could think of is that when the component is mounted to do a
this.$Apollo.queries.workspaces.refetch()
but I don't know if it's the best way and it doesn't affect performance.Any suggestion or help would be very grateful.
This is my code where I am making the query:
Beta Was this translation helpful? Give feedback.
All reactions