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
I can't reproduce the bug without vue-router (activated event is not called on deactivated component anymore)
I let you check if my repro is valid, but I think this issue can be moved to the vue-router repository. SFC playground
The repro is not exactly the same because, in Vue Router, nested components are dynamic and keep rendering (cf the issue you linked) which is why they get activated/deactivated, the nested children are rendered twice. It's similar (but not exactly the same) as this
Let's close this in favor of #5386 because solving that would solve this too.
Version
3.2.29
Reproduction link
code : github.com
demo : netlify.com
Steps to reproduce
What is expected?
Since it's being deactivated
NestedAbout
component should not receive theactivated
lifecycle eventWhat is actually happening?
NestedAbout
component is receiving theactivated
lifecycle eventWe can also notice that
NestedHome
is mounted twice, as reported here:vuejs/router#626 (comment)
The text was updated successfully, but these errors were encountered: