sameVnode() — vue Function Reference
Architecture documentation for the sameVnode() function in patch.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD c7f988dc_f308_2cf8_8db3_90c1039f8314["sameVnode()"] b5b9b2bc_af65_0b4d_18a8_d754e24c79b1["createPatchFunction()"] b5b9b2bc_af65_0b4d_18a8_d754e24c79b1 -->|calls| c7f988dc_f308_2cf8_8db3_90c1039f8314 31076e06_857d_6e64_04cb_8b29d9c1f3fe["sameInputType()"] c7f988dc_f308_2cf8_8db3_90c1039f8314 -->|calls| 31076e06_857d_6e64_04cb_8b29d9c1f3fe style c7f988dc_f308_2cf8_8db3_90c1039f8314 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/vdom/patch.ts lines 36–46
function sameVnode(a, b) {
return (
a.key === b.key &&
a.asyncFactory === b.asyncFactory &&
((a.tag === b.tag &&
a.isComment === b.isComment &&
isDef(a.data) === isDef(b.data) &&
sameInputType(a, b)) ||
(isTrue(a.isAsyncPlaceholder) && isUndef(b.asyncFactory.error)))
)
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does sameVnode() do?
sameVnode() is a function in the vue codebase.
What does sameVnode() call?
sameVnode() calls 1 function(s): sameInputType.
What calls sameVnode()?
sameVnode() is called by 1 function(s): createPatchFunction.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free