createTransitionScope() — astro Function Reference
Architecture documentation for the createTransitionScope() function in transition.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 43354635_9277_321c_ee7e_862498c43def["createTransitionScope()"] f4a9c12d_07bd_6de6_237f_8553c55f6fef["transition.ts"] 43354635_9277_321c_ee7e_862498c43def -->|defined in| f4a9c12d_07bd_6de6_237f_8553c55f6fef 76c15535_9f6b_845e_9f22_f5c86e52ea7b["renderTransition()"] 76c15535_9f6b_845e_9f22_f5c86e52ea7b -->|calls| 43354635_9277_321c_ee7e_862498c43def 881bd4f5_ab1d_1965_f753_6b89f7de8073["incrementTransitionNumber()"] 43354635_9277_321c_ee7e_862498c43def -->|calls| 881bd4f5_ab1d_1965_f753_6b89f7de8073 style 43354635_9277_321c_ee7e_862498c43def fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/runtime/server/transition.ts lines 22–25
export function createTransitionScope(result: SSRResult, hash: string) {
const num = incrementTransitionNumber(result);
return `astro-${hash}-${num}`;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does createTransitionScope() do?
createTransitionScope() is a function in the astro codebase, defined in packages/astro/src/runtime/server/transition.ts.
Where is createTransitionScope() defined?
createTransitionScope() is defined in packages/astro/src/runtime/server/transition.ts at line 22.
What does createTransitionScope() call?
createTransitionScope() calls 1 function(s): incrementTransitionNumber.
What calls createTransitionScope()?
createTransitionScope() is called by 1 function(s): renderTransition.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free