vue
vue copied to clipboard
Watchers depending on current route re-evaluated after unmount
Version
2.7.8
Reproduction link
Steps to reproduce
Have a watcher with a dependency on the current route
. Unmount the component.
What is expected?
No watcher effect is called
What is actually happening?
Watcher effects are called
Looks like it's the same issue as https://github.com/vuejs/core/issues/2291 for Vue 3