wip(ssr): renderer support for optimized and manual slots

This commit is contained in:
Evan You
2020-01-28 22:58:02 -05:00
parent a7b0954f14
commit 6b1ce00621
9 changed files with 86 additions and 37 deletions

View File

@@ -6,7 +6,7 @@ import {
cloneIfMounted,
normalizeVNode,
VNode,
VNodeChildren,
VNodeArrayChildren,
createVNode,
isSameVNodeType
} from './vnode'
@@ -177,7 +177,7 @@ export function createRenderer<
createApp: CreateAppFunction<HostElement>
} {
type HostVNode = VNode<HostNode, HostElement>
type HostVNodeChildren = VNodeChildren<HostNode, HostElement>
type HostVNodeChildren = VNodeArrayChildren<HostNode, HostElement>
type HostSuspenseBoundary = SuspenseBoundary<HostNode, HostElement>
const {