【vue-query】How to use query client outside of a component? #7297
Unanswered
AaronConlon
asked this question in
Q&A
Replies: 0 comments
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.
-
vue3: useQueryClient is a hook function that seems to can only be used in a component. vue3 injects query client in the form of plugins, so how can we use it elsewhere?
Beta Was this translation helpful? Give feedback.
All reactions