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
It also is lazy by default - i.e. the callback is only called when the watched source has changed.
However, when I use it, I see that the callback is called even if the data I watch doesn't change after I called watch. If I set the option { lazy: true }, the callback is not called before the data change.
I also think the documentation should state that this is the same option as immediate in
Vue 2. Unless there are any differences? If so, they should be stated.
The text was updated successfully, but these errors were encountered:
The documentation for watch states:
However, when I use it, I see that the callback is called even if the data I watch doesn't change after I called watch. If I set the option
{ lazy: true }
, the callback is not called before the data change.I also think the documentation should state that this is the same option as
immediate
inVue 2. Unless there are any differences? If so, they should be stated.
The text was updated successfully, but these errors were encountered: