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

keep alive multiple render children #3937

Closed
tangjinzhou opened this issue Jun 11, 2021 · 1 comment
Closed

keep alive multiple render children #3937

tangjinzhou opened this issue Jun 11, 2021 · 1 comment

Comments

@tangjinzhou
Copy link
Contributor

Version

3.1.1

Reproduction link

https://codesandbox.io/s/little-water-q2jx6?file=/src/Keep.vue

Steps to reproduce

1、component set key
2、use three level (or more) router
3、toggle router
4、log twice onMounted ComB
image

What is expected?

only render once

What is actually happening?

render twice

@posva
Copy link
Member

posva commented Jun 11, 2021

Duplicate of vuejs/router#626

@posva posva marked this as a duplicate of vuejs/router#626 Jun 11, 2021
@posva posva closed this as completed Jun 11, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants