MCPcopy
hub / github.com/vuejs/core / removeFragment

Function removeFragment

packages/runtime-core/src/renderer.ts:2321–2331  ·  view source on GitHub ↗
(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,

Callers 1

removeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected