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

Function setup

packages/runtime-core/__tests__/apiWatch.spec.ts:404–406  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

402 return h('div', this.count)
403 },
404 setup() {
405 return { count }
406 },
407 })
408 let html
409 html = await renderToString(h(Comp))

Callers

nothing calls this directly

Calls 11

effectScopeFunction · 0.90
watchEffectFunction · 0.85
watchPostEffectFunction · 0.85
watchSyncEffectFunction · 0.85
hFunction · 0.85
getCurrentInstanceFunction · 0.85
onErrorCapturedFunction · 0.85
refFunction · 0.70
pushMethod · 0.65
watchFunction · 0.50
runMethod · 0.45

Tested by

no test coverage detected