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

Suspense doesn't call unmounted hook #1059

Closed
jods4 opened this issue Apr 26, 2020 · 0 comments · Fixed by #1061
Closed

Suspense doesn't call unmounted hook #1059

jods4 opened this issue Apr 26, 2020 · 0 comments · Fixed by #1061

Comments

@jods4
Copy link
Contributor

jods4 commented Apr 26, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant