fix(runtime-core): should call Suspense fallback unmount hook (#1061)
fix #1059
This commit is contained in:
@@ -1856,9 +1856,9 @@ function baseCreateRenderer(
|
||||
) {
|
||||
queuePostRenderEffect(da, parentSuspense)
|
||||
}
|
||||
queuePostFlushCb(() => {
|
||||
queuePostRenderEffect(() => {
|
||||
instance.isUnmounted = true
|
||||
})
|
||||
}, parentSuspense)
|
||||
|
||||
// A component with async dep inside a pending suspense is unmounted before
|
||||
// its async dep resolves. This should remove the dep from the suspense, and
|
||||
|
||||
Reference in New Issue
Block a user