normalizeRender() — vue Function Reference
Architecture documentation for the normalizeRender() function in render.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD f2ea83ff_0435_4be8_87ac_f6ab0b96233a["normalizeRender()"] b912b998_19db_0074_fde6_8126c7f548f0["renderComponentInner()"] b912b998_19db_0074_fde6_8126c7f548f0 -->|calls| f2ea83ff_0435_4be8_87ac_f6ab0b96233a bcfdaca3_f60a_836c_8a8e_ab6eb04bb14e["createRenderFunction()"] bcfdaca3_f60a_836c_8a8e_ab6eb04bb14e -->|calls| f2ea83ff_0435_4be8_87ac_f6ab0b96233a a1f5b8ca_b6d5_6b24_155e_038685c97c85["isUndef()"] f2ea83ff_0435_4be8_87ac_f6ab0b96233a -->|calls| a1f5b8ca_b6d5_6b24_155e_038685c97c85 style f2ea83ff_0435_4be8_87ac_f6ab0b96233a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/server-renderer/src/render.ts lines 33–56
const normalizeRender = vm => {
const { render, template, _scopeId } = vm.$options
if (isUndef(render)) {
if (template) {
const compiled = ssrCompileToFunctions(
template,
{
scopeId: _scopeId,
warn: onCompilationError
},
vm
)
vm.$options.render = compiled.render
vm.$options.staticRenderFns = compiled.staticRenderFns
} else {
throw new Error(
`render function or template not defined in component: ${
vm.$options.name || vm.$options._componentTag || 'anonymous'
}`
)
}
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does normalizeRender() do?
normalizeRender() is a function in the vue codebase.
What does normalizeRender() call?
normalizeRender() calls 1 function(s): isUndef.
What calls normalizeRender()?
normalizeRender() is called by 2 function(s): createRenderFunction, renderComponentInner.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free