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

Function renderChildren

packages/runtime-core/__tests__/rendererChildren.spec.ts:80–83  ·  view source on GitHub ↗
(arr: number[])

Source from the content-addressed store, hash-verified

78 let root: TestElement
79 let elm: TestElement
80 const renderChildren = (arr: number[]) => {
81 render(h('div', arr.map(toSpan)), root)
82 return root.children[0] as TestElement
83 }
84
85 beforeEach(() => {
86 root = nodeOps.createElement('div')

Callers 2

renderWithBlockFunction · 0.85

Calls 3

renderFunction · 0.90
hFunction · 0.85
mapMethod · 0.80

Tested by

no test coverage detected