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

@@ -144,7 +144,7 @@ function renderComponentVNode(
vnode: VNode,
parentComponent: ComponentInternalInstance | null = null
): ResolvedSSRBuffer | Promise<ResolvedSSRBuffer> {
const instance = createComponentInstance(vnode, parentComponent)
const instance = createComponentInstance(vnode, parentComponent, null)
const res = setupComponent(
instance,
null /* parentSuspense (no need to track for SSR) */,