()
| 159 | |
| 160 | const queuePendingMount = (vnode: TeleportVNode) => { |
| 161 | const mountJob: SchedulerJob = () => { |
| 162 | if (pendingMounts.get(vnode) !== mountJob) return |
| 163 | pendingMounts.delete(vnode) |
| 164 | if (isTeleportDisabled(vnode.props)) { |
| 165 | // Use the current parent of the placeholder instead of the |
| 166 | // captured `container`, which may be stale if Suspense has moved |
| 167 | // the branch to a different container during resolve. |
| 168 | const mountContainer = parentNode(vnode.el!) || container |
| 169 | mount(vnode, mountContainer, vnode.anchor!) |
| 170 | updateCssVars(vnode, true) |
| 171 | } |
| 172 | mountToTarget(vnode) |
| 173 | } |
| 174 | pendingMounts.set(vnode, mountJob) |
| 175 | queuePostRenderEffect(mountJob, parentSuspense) |
| 176 | } |
nothing calls this directly
no test coverage detected