this.$patch() method add switch #959
Unanswered
ghost
asked this question in
Help and Questions
Replies: 1 comment
-
this.$patch() doesn't change the value of state. It injects the values of the object passed to it as argument in the state's object (hence the "patch" name). |
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.
-
If this.$patch() changes the value of state, it will change the property defined as readonly. How can it be controlled from changing the value of readonly
Beta Was this translation helpful? Give feedback.
All reactions