| 2401 | } |
| 2402 | |
| 2403 | const getNextHostNode: NextFn = vnode => { |
| 2404 | if (vnode.shapeFlag & ShapeFlags.COMPONENT) { |
| 2405 | return getNextHostNode(vnode.component!.subTree) |
| 2406 | } |
| 2407 | if (__FEATURE_SUSPENSE__ && vnode.shapeFlag & ShapeFlags.SUSPENSE) { |
| 2408 | return vnode.suspense!.next() |
| 2409 | } |
| 2410 | const el = hostNextSibling((vnode.anchor || vnode.el)!) |
| 2411 | // #9071, #9313 |
| 2412 | // teleported content can mess up nextSibling searches during patch so |
| 2413 | // we need to skip them during nextSibling search |
| 2414 | const teleportEnd = el && el[TeleportEndKey] |
| 2415 | return teleportEnd ? hostNextSibling(teleportEnd) : el |
| 2416 | } |
| 2417 | |
| 2418 | let isFlushing = false |
| 2419 | const render: RootRenderFunction = (vnode, container, namespace) => { |
no test coverage detected