renderNode() — vue Function Reference
Architecture documentation for the renderNode() function in render.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 09a727a5_6777_1c56_897b_3604820d99ba["renderNode()"] affe67c1_b5f5_cf58_e5d3_d3d820ab290f["render.ts"] 09a727a5_6777_1c56_897b_3604820d99ba -->|defined in| affe67c1_b5f5_cf58_e5d3_d3d820ab290f 0496e7ad_ac13_f15c_54da_dffea230eeb5["renderComponentInner()"] 0496e7ad_ac13_f15c_54da_dffea230eeb5 -->|calls| 09a727a5_6777_1c56_897b_3604820d99ba e37a9278_38b9_9843_639b_2e03afcc6e0c["renderAsyncComponent()"] e37a9278_38b9_9843_639b_2e03afcc6e0c -->|calls| 09a727a5_6777_1c56_897b_3604820d99ba 35709e8a_b6bd_4fb5_7079_31de385b8542["createRenderFunction()"] 35709e8a_b6bd_4fb5_7079_31de385b8542 -->|calls| 09a727a5_6777_1c56_897b_3604820d99ba 998ac2bf_795b_ba44_6bdf_71dba49b1814["renderStringNode()"] 09a727a5_6777_1c56_897b_3604820d99ba -->|calls| 998ac2bf_795b_ba44_6bdf_71dba49b1814 73d8a225_abe4_207c_8ace_a53edec56ba1["renderComponent()"] 09a727a5_6777_1c56_897b_3604820d99ba -->|calls| 73d8a225_abe4_207c_8ace_a53edec56ba1 5d214d01_e84c_efe3_20b5_5a79ec7eecb0["renderElement()"] 09a727a5_6777_1c56_897b_3604820d99ba -->|calls| 5d214d01_e84c_efe3_20b5_5a79ec7eecb0 e37a9278_38b9_9843_639b_2e03afcc6e0c["renderAsyncComponent()"] 09a727a5_6777_1c56_897b_3604820d99ba -->|calls| e37a9278_38b9_9843_639b_2e03afcc6e0c 1e08374e_4b7f_6901_4657_b7f1d04e4395["escape()"] 09a727a5_6777_1c56_897b_3604820d99ba -->|calls| 1e08374e_4b7f_6901_4657_b7f1d04e4395 style 09a727a5_6777_1c56_897b_3604820d99ba fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/server-renderer/src/render.ts lines 79–99
function renderNode(node, isRoot, context) {
if (node.isString) {
renderStringNode(node, context)
} else if (isDef(node.componentOptions)) {
renderComponent(node, isRoot, context)
} else if (isDef(node.tag)) {
renderElement(node, isRoot, context)
} else if (isTrue(node.isComment)) {
if (isDef(node.asyncFactory)) {
// async component
renderAsyncComponent(node, isRoot, context)
} else {
context.write(`<!--${node.text}-->`, context.next)
}
} else {
context.write(
node.raw ? node.text : escape(String(node.text)),
context.next
)
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does renderNode() do?
renderNode() is a function in the vue codebase, defined in packages/server-renderer/src/render.ts.
Where is renderNode() defined?
renderNode() is defined in packages/server-renderer/src/render.ts at line 79.
What does renderNode() call?
renderNode() calls 5 function(s): escape, renderAsyncComponent, renderComponent, renderElement, renderStringNode.
What calls renderNode()?
renderNode() is called by 3 function(s): createRenderFunction, renderAsyncComponent, renderComponentInner.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free