Goal
Bring the RouteMatch API reference in line with the current public contract.
Scope
- Remove obsolete
showPending and fetchedAt entries from docs/router/api/router/RouteMatchType.md.
- Add
fullPath using its route-specific type, Route['fullPath'].
- Add
index and explain its ordering within the matched route array.
- Update
cause to include 'preload'.
- Keep internal and lifecycle-specific match state out of the reference, including
displayPendingPromise, fetchCount, preload, invalid, headers, and globalNotFound.
- Review the complete page against
packages/router-core/src/Matches.ts so the reference describes the intentional public API.
Related Work
This continues the RouteMatch reference update started in #4894
Goal
Bring the
RouteMatchAPI reference in line with the current public contract.Scope
showPendingandfetchedAtentries fromdocs/router/api/router/RouteMatchType.md.fullPathusing its route-specific type,Route['fullPath'].indexand explain its ordering within the matched route array.causeto include'preload'.displayPendingPromise,fetchCount,preload,invalid,headers, andglobalNotFound.packages/router-core/src/Matches.tsso the reference describes the intentional public API.Related Work
This continues the RouteMatch reference update started in #4894