Where to store component state #1422
Unanswered
develmac
asked this question in
Help and Questions
Replies: 1 comment 1 reply
-
yes, it's the same. Component state should not go in the store, it should go in the component. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Dear Pinia community,
I can remember from all the Redux discussions that component state typically should not be stored in a shared state store and should remain local to the component. Is this the same for Pinia? In most of the examples I can see that component state is pushed into Pinia.
Are there any best practices documented for this?
Beta Was this translation helpful? Give feedback.
All reactions