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

Function render

packages/runtime-core/__tests__/rendererOptimizedMode.spec.ts:505–510  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

503 const foo = h('div', null, h(Child))
504 const app = createApp({
505 render() {
506 return show.value
507 ? (openBlock(),
508 createBlock('div', null, [(openBlock(), createBlock(foo))]))
509 : createCommentVNode('v-if', true)
510 },
511 })
512
513 app.mount(root)

Callers

nothing calls this directly

Calls 9

openBlockFunction · 0.85
createCommentVNodeFunction · 0.85
withCtxFunction · 0.85
hFunction · 0.85
renderListFunction · 0.85
createElementBlockFunction · 0.85
renderSlotFunction · 0.85
setBlockTrackingFunction · 0.85
createBlockFunction · 0.50

Tested by

no test coverage detected