Function
removeFragment
(cur: RendererNode, end: RendererNode)
Source from the content-addressed store, hash-verified
| 2319 | } |
| 2320 | |
| 2321 | const removeFragment = (cur: RendererNode, end: RendererNode) => { |
| 2322 | // For fragments, directly remove all contained DOM nodes. |
| 2323 | // (fragment child nodes cannot have transition) |
| 2324 | let next |
| 2325 | while (cur !== end) { |
| 2326 | next = hostNextSibling(cur)! |
| 2327 | hostRemove(cur) |
| 2328 | cur = next |
| 2329 | } |
| 2330 | hostRemove(end) |
| 2331 | } |
| 2332 | |
| 2333 | const unmountComponent = ( |
| 2334 | instance: ComponentInternalInstance, |
Tested by
no test coverage detected