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
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
-
we had a bug using the latest version of
@tanstack/vue-query
in our vue 3 application.would it be possible to handle this via
@tanstack/eslint-plugin-query
if you kill the reactivity using.value
in the queryKey?Obviously it totally makes sense why the refetch is not working, but this could be a common mistake if you're not familiar using TanStack query. There is also a section in the documentation, but from my point of view it's pretty hidden: https://tanstack.com/query/latest/docs/framework/vue/guides/query-keys#if-your-query-function-depends-on-a-variable-include-it-in-your-query-key
Beta Was this translation helpful? Give feedback.
All reactions