You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repro has an index page and a test page with the same content md file rendered on them note the logs of the mounted unmounted calls for each.
Turning off SSR or downgrading to Vue 3.4 resolves the issue in this reproduction.
Describe the bug
I seem to have encountered a strange issue related to the upgrade to Vue 3.5.
When using the unmounted Vue lifecycle hooks in a component that is rendered within a markdown file we are no longer seeing the unmounted hooks called.
Here is a simple set of logs demonstrating the issue:
Vue 3.5 (no unmounted)
Vue 3.4 (unmounted called)
Note in Vue 3.4 we have both mounted and unmounted calls. In Vue 3.5 we are missing the unmounted call from the component but we do have it from the wrapping page being unmounted.
I believe it may be something to do with the ContentRenderer not unmounting from the SSR. All subsequent non-SSR mount and unmounting of the component work fine but the initial SSR component never seems to have its unmounted lifecycle hooks called on Vue 3.5.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Darwin
v20.17.0
3.13.2
3.14.0
2.9.7
[email protected]
-
-
-
-
Reproduction
https://github.com/GerryWilko/unmount-repro
This repro has an index page and a test page with the same content md file rendered on them note the logs of the mounted unmounted calls for each.
Turning off SSR or downgrading to Vue 3.4 resolves the issue in this reproduction.
Describe the bug
I seem to have encountered a strange issue related to the upgrade to Vue 3.5.
When using the unmounted Vue lifecycle hooks in a component that is rendered within a markdown file we are no longer seeing the unmounted hooks called.
Here is a simple set of logs demonstrating the issue:
Vue 3.5 (no unmounted)
Vue 3.4 (unmounted called)
Note in Vue 3.4 we have both mounted and unmounted calls. In Vue 3.5 we are missing the unmounted call from the component but we do have it from the wrapping page being unmounted.
I believe it may be something to do with the
ContentRenderer
not unmounting from the SSR. All subsequent non-SSR mount and unmounting of the component work fine but the initial SSR component never seems to have its unmounted lifecycle hooks called on Vue 3.5.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: