MCPcopy Create free account
hub / github.com/MMmaXingXing/mini-vue / processFragment

Function processFragment

code/src/runtime-core/renderer.ts:52–56  ·  view source on GitHub ↗
(n1, n2, container, parentComponent, anchor)

Source from the content-addressed store, hash-verified

50 };
51
52 const processFragment = (n1, n2, container, parentComponent, anchor) => {
53 // Implemment
54 // 将虚拟节点
55 mountChildren(n2.children, container, parentComponent, anchor);
56 };
57
58 const processElement = (n1, n2, container, parentComponent, anchor) => {
59 // init --> update

Callers 1

patchFunction · 0.70

Calls 1

mountChildrenFunction · 0.70

Tested by

no test coverage detected