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

Function Child

packages/runtime-core/__tests__/rendererAttrsFallthrough.spec.ts:113–123  ·  view source on GitHub ↗
(props: any)

Source from the content-addressed store, hash-verified

111 })
112
113 const Child = (props: any) => {
114 childUpdated()
115 return h(
116 'div',
117 {
118 class: 'c2',
119 style: { fontWeight: 'bold' },
120 },
121 props.foo,
122 )
123 }
124
125 const root = document.createElement('div')
126 document.body.appendChild(root)

Callers

nothing calls this directly

Calls 2

hFunction · 0.85
emitFunction · 0.50

Tested by

no test coverage detected