Can this be used outside of components too? #5200
Unanswered
dietergeerts
asked this question in
Q&A
Replies: 1 comment
-
sure - with |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I'm validating if we can use this library for our store in a Vue application. But what I see is that this library is mainly used through hooks, which is fine when you want data in your components at route level. Of course, there are lots of use-cases where you have code that needs to use the store that doesn't involve rendering components, like doing some socket handling. So is it possible to execute queries to the store and use them outside of components?
Beta Was this translation helpful? Give feedback.
All reactions