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

Function removeStaticNode

packages/runtime-core/src/renderer.ts:590–598  ·  view source on GitHub ↗
({ el, anchor }: VNode)

Source from the content-addressed store, hash-verified

588 }
589
590 const removeStaticNode = ({ el, anchor }: VNode) => {
591 let next
592 while (el && el !== anchor) {
593 next = hostNextSibling(el)
594 hostRemove(el)
595 el = next
596 }
597 hostRemove(anchor!)
598 }
599
600 const processElement = (
601 n1: VNode | null,

Callers 2

patchStaticNodeFunction · 0.85
removeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected