You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(router-core): separate cache identity (match.id) from lifecycle hook identity (routeId)
Cache entries use match.id (routeId + params + loaderDeps) so navigating between
different params/deps correctly caches the previous match. Lifecycle hooks (onEnter/
onStay/onLeave) use routeId to track route *presence* in the matched tree — so
navigating /posts/123 → /posts/456 fires onStay for /posts/$id, not onLeave+onEnter.
Addresses caching regression spotted by @Sheraff in PR TanStack#6772 test.
0 commit comments