}
private hydrateDisabledTeleport(targetNode: Node | null): void {
+ if (!isHydrating) return
let nextNode = this.placeholder!.nextSibling!
setCurrentHydrationNode(nextNode)
this.mountAnchor = this.anchor = locateTeleportEndAnchor(nextNode)!
}
private mountChildren(target: Node): void {
+ if (!isHydrating) return
target.appendChild((this.targetStart = createTextNode('')))
target.appendChild(
(this.mountAnchor = this.targetAnchor = createTextNode('')),
}
hydrate = (): void => {
+ if (!isHydrating) return
const target = (this.target = resolveTeleportTarget(
this.resolvedProps!,
querySelector,
)
return _next(node)
},
+
hydrateSlot(vnode, node) {
const { slot } = vnode.vs!
const propsRef = (vnode.vs!.ref = shallowRef(vnode.props))
}
frag.hydrate = () => {
+ if (!isHydrating) return
hydrateVNode(vnode, parentComponent as any)
onScopeDispose(unmount, true)
isMounted = true
}
frag.hydrate = () => {
+ if (!isHydrating) return
hydrateVNode(
vnode,
parentComponent as any,
}
frag.hydrate = () => {
+ if (!isHydrating) return
render()
isMounted = true
}