-
-
Notifications
You must be signed in to change notification settings - Fork 8.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
Suspense doesn't call unmounted hook #1059
Comments
underfin
added a commit
to underfin/vue-next
that referenced
this issue
Apr 27, 2020
yyx990803
pushed a commit
that referenced
this issue
May 1, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
3.0.0-beta.4
Reproduction link
https://jsfiddle.net/L8pj7kco/8/
Steps to reproduce
Look at the console.
Component
my-comp
logs mounted and unmounted hooks.When using a simple
v-if
(use the checkbox), it works as expect.When the component is part of a Suspense
#fallback
(use button to complete), unmounted hook is never called.What is expected?
Unmounted should be called when suspense resolves.
What is actually happening?
Unmounted is never called.
The text was updated successfully, but these errors were encountered: