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
Clicking the button to change the code works before you navigate through Vue Router. However, once you go away and come back the code continues to change correctly, but the result stops updating.
In my actual source code in this setup I provide a custom link to the Apollo Provider and it doesn't even get called.
No matter what I try, there aren't even any errors, it's as if Apollo just vanished.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When using useQuery function outside of Setup, it stops returning results after navigating with Vue Router.
I set up a StackBlitz to demonstrate the behavior but I will also explain it here.
Given a store that looks like this example
And a Component like this
Clicking the button to change the
code
works before you navigate through Vue Router. However, once you go away and come back thecode
continues to change correctly, but theresult
stops updating.In my actual source code in this setup I provide a custom link to the Apollo Provider and it doesn't even get called.
No matter what I try, there aren't even any errors, it's as if Apollo just vanished.
Can anyone help me with this?
Beta Was this translation helpful? Give feedback.
All reactions