vue3.2.3x 版本 与 3.5.x版本,watch的监听发生变化 #13248
qp666
started this conversation in
General Discussions
Replies: 2 comments 1 reply
-
@yyx990803 来看看吧,bigold |
Beta Was this translation helpful? Give feedback.
0 replies
-
https://blog.vuejs.org/posts/vue-3-4#more-efficient-reactivity-system With the 3.4 optimizations, the callback only fires if the computed result has changed |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Vue version
3.2.31
Steps to reproduce
vue3.2.31代码 代码中点击输出的值与vue3.5.13代码输出的值不一致,想了解一下什么原因导致的,新手一枚,希望大佬解答
What is expected?
watchNumber增加
What is actually happening?
watchNumber不增加
System Info
Any additional comments?
No response
Beta Was this translation helpful? Give feedback.
All reactions