-
-
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
Setup function called multiple times with router-view and keep-alive #1953
Comments
mibiio
changed the title
Setup function called multiple times with router-views and keep-alive
Setup function called multiple times with router-view and keep-alive
Aug 7, 2023
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.
Reproduction
https://stackblitz.com/edit/quasarframework-2jj1tx?file=src%2Frouter%2Froutes.js
Steps to reproduce the bug
Expected behavior
The setup function should be called exactly one time for each component.
Actual behavior
What happened?
When using keep-alive with router-views the setup function is called multiple times.
Following structure:
The problem is that the setup function of all Child pages is called more often than once.
Additional information
No response
The text was updated successfully, but these errors were encountered: