Closed mohamadkhalili closed 4 months ago
https://codesandbox.io/p/sandbox/gifted-danny-dhw9wh?file=%2Fsrc%2FApp.vue%3A22%2C7-22%2C12
1- click on "names query 1" 2- check logs 3- click on "names query 2" 4- check logs
I expected that no log would be displayed after clicking on "names query 2".
In fact, it seems that the entire query element is watched, not the names element itself
No response
You repro link is broken but this is likely just how watchers work. FYI: each navigation generates a new route objecy
new issue with new repo created
Reproduction
https://codesandbox.io/p/sandbox/gifted-danny-dhw9wh?file=%2Fsrc%2FApp.vue%3A22%2C7-22%2C12
Steps to reproduce the bug
1- click on "names query 1" 2- check logs 3- click on "names query 2" 4- check logs
Expected behavior
I expected that no log would be displayed after clicking on "names query 2".
Actual behavior
In fact, it seems that the entire query element is watched, not the names element itself
Additional information
No response