-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
App created with 'createSSRApp()' on the client side is not unmounted when call 'app.unmount()' method. #5990
Comments
Edit: I'm a dumb-dumb. |
When using ssr, must use 'createSSRApp()' on the client side. This is also stated in the vue.js ssr guide document. https://vuejs.org/guide/scaling-up/ssr.html#client-hydration |
Sent a PR |
@LinusBorg Thank you so much. |
@LinusBorg Oh, I misunderstood. Sorry. When is the release? |
Please do not ask when it will be released. It will be released when appropriate. |
Vue version
3.2.33
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-jycpna?file=src/main.js
Steps to reproduce
What is expected?
After 3 seconds of opening the reproduction link, the vue app should unmount. The counter should not work.
What is actually happening?
Even though app.unmount() is called, the counter is still running. Even if the app is created with
createSSRApp()
on the client side, it must be unmounted when theapp.unmount()
method is called. Just likecreateApp()
.System Info
No response
Any additional comments?
The text was updated successfully, but these errors were encountered: