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
Do not call watchCallBack if the value has not changed; for example, if watch is listening for changes to an object in computed and the object's value is undefined for the next few changes, then watchCallBack should not be triggered.
The current behavior of watch in the above case leads to some hidden vulnerabilities that are hard to debug.
What is actually happening?
When using the deep mode of watch, watchCallBack will be triggered even if the value does not change.