Why onTrigger watcher options only work in development mode? #7739
Answered
by
ghost
ghost
asked this question in
Help/Questions
-
I want to develop a undo-redo plugin based on this option, which passes params(type, key, newValue, oldValue). But onTrigger only work in development mode. |
Beta Was this translation helpful? Give feedback.
Answered by
ghost
Feb 20, 2023
Replies: 1 comment
-
Immutable data structures solve this problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Immutable data structures solve this problem.
https://vuejs.org/guide/extras/reactivity-in-depth.html#immutable-data