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

Function ssrRender

packages/server-renderer/__tests__/render.spec.ts:185–187  ·  view source on GitHub ↗
(ctx, push)

Source from the content-addressed store, hash-verified

183 return { msg: 'hello' }
184 },
185 ssrRender(ctx, push) {
186 push(`<div>${ctx.msg}</div>`)
187 },
188 }),
189 ),
190 ).toBe(`<div>hello</div>`)

Callers 1

renderComponentSubTreeFunction · 0.50

Calls 6

ssrRenderComponentFunction · 0.90
ssrRenderSlotFunction · 0.90
hFunction · 0.85
resolveComponentFunction · 0.85
resolveDynamicComponentFunction · 0.85
pushFunction · 0.70

Tested by

no test coverage detected