Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suspended component in nested route result in child route mounted twice #1324

Open
wuhaodes opened this issue Feb 25, 2022 · 0 comments
Open
Labels
bug Something isn't working external This depends on an external dependency but is kept opened to track it feat:suspense

Comments

@wuhaodes
Copy link

wuhaodes commented Feb 25, 2022

Version

4.0.0

Reproduction link

codesandbox.io

Steps to reproduce

https://codesandbox.io/s/lively-mountain-o395nx?file=/src/UserCenter/Push.vue

What is expected?

push once

What is actually happening?

push twice

@posva posva added bug Something isn't working feat:suspense labels Feb 25, 2022
@posva posva added the external This depends on an external dependency but is kept opened to track it label May 29, 2022
@posva posva changed the title useRouter.push/$router.push router-link will push page twice Suspended component in nested route result in child route mounted twice Jun 24, 2022
@posva posva moved this to Planned in Vue Router Roadmap Apr 17, 2024
@posva posva moved this from Planned to In discussion in Vue Router Roadmap Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working external This depends on an external dependency but is kept opened to track it feat:suspense
Projects
Status: 💬 In discussion
Development

No branches or pull requests

2 participants