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
nicolas-t
changed the title
Watchers in nested elements in keet alive are called twice
Watchers in nested elements in keep alive are called twice
Jan 5, 2022
This is because when for example "home" is active, keepAlive caches About -> RouterView (RounterView renders NestedHome), it results in two NestedHome instances.
Version
3.2.26
Reproduction link
code : github.com
demo : netlify.com
Steps to reproduce
What is expected?
Modifying state should trigger related watchers once.
What is actually happening?
Modifying state triggers related watchers twice.
Related topic :
https://forum.vuejs.org/t/vue-3-watcher-called-twice/125548
The text was updated successfully, but these errors were encountered: