Home / Function/ isSameChild() — vue Function Reference

isSameChild() — vue Function Reference

Architecture documentation for the isSameChild() function in transition.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  8e80c8cb_066a_a59c_2264_0579c65bc1e3["isSameChild()"]
  4092d37a_e401_1398_7538_ace18f6c50d5["transition.ts"]
  8e80c8cb_066a_a59c_2264_0579c65bc1e3 -->|defined in| 4092d37a_e401_1398_7538_ace18f6c50d5
  72e47df1_f475_b052_b735_29fdce7cc0ac["default.render()"]
  72e47df1_f475_b052_b735_29fdce7cc0ac -->|calls| 8e80c8cb_066a_a59c_2264_0579c65bc1e3
  style 8e80c8cb_066a_a59c_2264_0579c65bc1e3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/platforms/web/runtime/components/transition.ts lines 76–78

function isSameChild(child: VNode, oldChild: VNode): boolean {
  return oldChild.key === child.key && oldChild.tag === child.tag
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does isSameChild() do?
isSameChild() is a function in the vue codebase, defined in src/platforms/web/runtime/components/transition.ts.
Where is isSameChild() defined?
isSameChild() is defined in src/platforms/web/runtime/components/transition.ts at line 76.
What calls isSameChild()?
isSameChild() is called by 1 function(s): default.render.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free