refactor(runtime-core): remove the need for currentSuspense

This commit is contained in:
Evan You
2020-03-30 11:49:51 -04:00
parent 54a11c7bec
commit 573bcb2e11
5 changed files with 10 additions and 16 deletions

View File

@@ -1028,7 +1028,8 @@ function baseCreateRenderer(
) => {
const instance: ComponentInternalInstance = (initialVNode.component = createComponentInstance(
initialVNode,
parentComponent
parentComponent,
parentSuspense
))
if (__HMR__ && instance.type.__hmrId) {