Open
Description
Vue version
latest
Link to minimal reproduction
Steps to reproduce
- click the button
What is expected?
only one watcher should trigger
What is actually happening?
both, the watcher of the leaving and entering component are benig triggered
System Info
No response
Any additional comments?
In this scenario the update of the variable being watched is what triggers the switch
Is this just a race condition? Since the old component still needs to display, I would say it's normal for it to render due to watchers. This would require vue router to have a special handling of the current route so