Lijah
onUnmounted not being called in component
I had mistakenly gone back a few versions in Vue for my Nuxt app to a version before this was fixed
3.3.6/3.3.7
.
Somehow unmounting child components was broken with Teleport
and there were hydration mismatches with disabled teleports13 replies
onUnmounted not being called in component
@manniL / TheAlexLichter
Update it appears to be a bug I've run into before with Components not unmounting when they are children within a
Teleport
component.
If I move the component outside of my Teleport, it unmounts as expected13 replies
onUnmounted not being called in component
@manniL / TheAlexLichter I could likely try and globally clear these ChartJs objects but I'm still not sure as to why
OnUnmounted
and OnBeforeUnmount
don't get called. The page this component lives on is not SSR.
Is there a nuxt-specific lifecycle hook I can use?13 replies