getSortedPreloadedMatches() — astro Function Reference
Architecture documentation for the getSortedPreloadedMatches() function in routing.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD f5d4b81a_de56_4781_49ee_e9bffe7908a3["getSortedPreloadedMatches()"] 023064dd_a580_49f4_740a_68db4b2f69c1["routing.ts"] f5d4b81a_de56_4781_49ee_e9bffe7908a3 -->|defined in| 023064dd_a580_49f4_740a_68db4b2f69c1 264d40dd_7e50_bd38_ce03_ad26664a3078["preloadAndSetPrerenderStatus()"] f5d4b81a_de56_4781_49ee_e9bffe7908a3 -->|calls| 264d40dd_7e50_bd38_ce03_ad26664a3078 8386aac3_19ce_39c5_75d9_8b1431b13519["prioritizePrerenderedMatchesComparator()"] f5d4b81a_de56_4781_49ee_e9bffe7908a3 -->|calls| 8386aac3_19ce_39c5_75d9_8b1431b13519 style f5d4b81a_de56_4781_49ee_e9bffe7908a3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/prerender/routing.ts lines 11–23
export function getSortedPreloadedMatches({
pipeline,
matches,
manifest,
}: GetSortedPreloadedMatchesParams) {
return preloadAndSetPrerenderStatus({
pipeline,
matches,
manifest,
})
.sort((a, b) => routeComparator(a.route, b.route))
.sort((a, b) => prioritizePrerenderedMatchesComparator(a.route, b.route));
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does getSortedPreloadedMatches() do?
getSortedPreloadedMatches() is a function in the astro codebase, defined in packages/astro/src/prerender/routing.ts.
Where is getSortedPreloadedMatches() defined?
getSortedPreloadedMatches() is defined in packages/astro/src/prerender/routing.ts at line 11.
What does getSortedPreloadedMatches() call?
getSortedPreloadedMatches() calls 2 function(s): preloadAndSetPrerenderStatus, prioritizePrerenderedMatchesComparator.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free