-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
keep-alive and router-view cause subpages to render repeatedly #1707
Comments
Duplicate of #626 |
Please, search existing issues and pull requests before opening issues, it saves maintainers a lot of time 🙏 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
4.1.6
Reproduction link
codesandbox.io
Steps to reproduce
This is my demo: https://codesandbox.io/s/vue3-teleport-forked-61bxxv?file=/src/page1/index.vue
After entering the page, click '111' to jump to another page, and you can see that the 'onMounted' method of this page is triggered twice
What is expected?
Subpages are only rendered once
What is actually happening?
Subpages are only rendered multiple times
The text was updated successfully, but these errors were encountered: