Reset Pinia #2955
Reset Pinia
#2955
-
Hey, In short: can we reset the Pinia repo completely? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Mar 29, 2025
Replies: 1 comment
-
You will need to dispose of all stores. Currently this is only doable through an internal pinia._s property. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
posva
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You will need to dispose of all stores. Currently this is only doable through an internal pinia._s property.
It can also be implemented by collecting all store references in a pinia plugin (no need of an internal property 🙌)