-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Suspense with Transition triggers hooks twice #1583
Comments
underfin
added a commit
to underfin/vue-next
that referenced
this issue
Jul 15, 2020
In fact currently it will call the enter hooks on page load as well, switching routes would call all of the hooks twice |
yyx990803
pushed a commit
that referenced
this issue
Jul 15, 2020
Thank you @underfin just tested it with several scenarios with latest release, works like a charm! ❤️ |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
3.0.0-beta.21
Reproduction link
https://github.com/michaeltintiuc/vue3-suspense-transition
Steps to reproduce
The above will trigger onEnter and any other hook like onLeave etc twice
What is expected?
Call each hook once
What is actually happening?
Each hook is called twice
The text was updated successfully, but these errors were encountered: