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

Function normalizeClassComponent

packages/runtime-core/src/hmr.ts:85–87  ·  view source on GitHub ↗
(component: HMRComponent)

Source from the content-addressed store, hash-verified

83}
84
85function normalizeClassComponent(component: HMRComponent): ComponentOptions {
86 return isClassComponent(component) ? component.__vccOpts : component
87}
88
89function rerender(id: string, newRender?: Function): void {
90 const record = map.get(id)

Callers 3

createRecordFunction · 0.85
rerenderFunction · 0.85
reloadFunction · 0.85

Calls 1

isClassComponentFunction · 0.90

Tested by

no test coverage detected