Dynamically adding reactive entry in a store? #1955
Unanswered
jourdain
asked this question in
Help and Questions
Replies: 1 comment
-
I guess my first question was raised because I wasn't sure what is the true meaning of replacing-the-state in the documentation and got me excited... |
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.
-
Can
$patch
be use to add new reactive keys/entries in an existing store?If not, can we recreate a store with same name/id with a new set of state keys/values?
If none of those are recommended/supported, what would you suggest to keep reactivity while allowing new entries to be added?
In my current/old implementation using Vue2, I am recreating a component and I re-register it to dynamically have computed/reactive variables.
Ideally for my project (trame), I would like to upgrade to use vue3 and streamline that reactive state management handling...
Thanks for any help or guidance you could provide...
Beta Was this translation helpful? Give feedback.
All reactions