Home

tanstack/router

Status:Indexed
Analyzed Nov 17, 202510K+ starsTypeScript

🤖 A client-first, server-capable, fully type-safe router and full-stack framework for the web (React and more).

Back to Pull Requests
#5882Closed
Moderate Review

refactor(router-core): cache matched route branch alongside the rest of the route match

by SheraffNov 16, 2025
View on GitHub

Summary

This pull request refactors the route matching logic to cache the entire route branch (ancestry) alongside each route match. This change aims to simplify the process of building matched routes and eliminate the need for traversing parent links.

Changes

+33 additions-23 deletions

Impact Areas

Route MatchingRoute ResolutionInternal Data Structures