what can i do if wander reset all store instance state with call reset(or other api) only once #1728
Unanswered
CHANGEORT
asked this question in
Help and Questions
Replies: 1 comment
-
https://lobotuerto.com/notes/til-how-to-reset-all-stores-in-pinia |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
What problem is this solving
what can i do if wander reset all store instance state with call reset(or other api) only once
.e.g when user logout, need reset all store interface. Without call reset func each store.
Proposed solution
maybe add reset func at ponia root instance
Describe alternatives you've considered
No response
Beta Was this translation helpful? Give feedback.
All reactions