The pinia state value changes while the muted props value changes #2417
Unanswered
suneethdev
asked this question in
Help and Questions
Replies: 1 comment
-
A temporary solution has been found. In order to fix this issue, I stringified the store value and parsed the value using JSON.stringify and JSON.parse methods. This will disable the reactivity of pinia store values. |
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.
-
In my application, i used pinia store and event emit implementation to mutate props value from child component to parent component, but now both values are reactive. while I change my value from the parent component the child component data (pinia store value) also changes.
Beta Was this translation helpful? Give feedback.
All reactions