Allow $reset() to accept state props and not reset the whole store #1831
Closed
whitespacecode
started this conversation in
Ideas
Replies: 1 comment
-
As discussed in some issues, |
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.
-
I would like to reset just one prop in my pinia state instead of the whole store.
For now you can achieve this with this
How great would it be if the you could just do this
store.$reset(['foo']);
Beta Was this translation helpful? Give feedback.
All reactions