isSameProps() — astro Function Reference
Architecture documentation for the isSameProps() function in swap-functions.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 3befea5e_8217_7a6a_e774_983c2d7dbae6["isSameProps()"] 12084e8e_15f3_27ac_8f8b_d442375ff33d["swap-functions.ts"] 3befea5e_8217_7a6a_e774_983c2d7dbae6 -->|defined in| 12084e8e_15f3_27ac_8f8b_d442375ff33d 3d1986b3_a5c3_1ecd_66e2_b7d4e1f116b2["swapBodyElement()"] 3d1986b3_a5c3_1ecd_66e2_b7d4e1f116b2 -->|calls| 3befea5e_8217_7a6a_e774_983c2d7dbae6 style 3befea5e_8217_7a6a_e774_983c2d7dbae6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/transitions/swap-functions.ts lines 172–174
const isSameProps = (oldEl: Element, newEl: Element) => {
return oldEl.getAttribute('props') === newEl.getAttribute('props');
};
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does isSameProps() do?
isSameProps() is a function in the astro codebase, defined in packages/astro/src/transitions/swap-functions.ts.
Where is isSameProps() defined?
isSameProps() is defined in packages/astro/src/transitions/swap-functions.ts at line 172.
What calls isSameProps()?
isSameProps() is called by 1 function(s): swapBodyElement.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free