You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for response. Yeah, sync will be working.
But nevertheless, I can understand why there is no 2 logs per click, but it is weird that watch do not work at all after ref is changed. It means that it is forbidden to change watched ref in watch callback?
If it is expected behaviour, feel free to close the issue.
…iggering
fix#1740
Previous fix for #1727 caused `watchEffect` to also recursively trigger
itself on reactive array mutations which implicitly registers array
`.length` as dependencies and mutates it at the same time.
This fix limits recursive trigger behavior to only `watch()` callbacks
since code inside the callback do not register dependencies and
mutations are always explicitly intended.
Version
3.0.0-rc.4
Reproduction link
https://jsfiddle.net/zs3td94f/
Steps to reproduce
What is expected?
Every click fire console output
What is actually happening?
Only one log. Watch not detect change which made inside watch callback
This behaviour appeared in version 3.0.0-beta.23
There are link to the same example with 22 version
https://jsfiddle.net/hg64rkdx/3/
In the version 22 watch fires twice per click
The text was updated successfully, but these errors were encountered: