@tanstack/react-router
1.170.46 · 22 Oct 2026MIT29.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @tanstack/react-router From 1.170.35 to 1.170.36
1 release in betweenevery note read
Release by release
- New
Allow active and inactive Link props to override base element props in React and Solid while preserving class/style merging. Keep React's
href,target, anddisabledvalues controlled by routing options. Preserve Vue object and nested-array class bindings, including reactive updates and server rendering, without mutating cached bindings during VNode normalization. - Fixed
Keep the Link location cache out of server bundles:
buildLocationonly creates, reads and writes it whenisServeris false. Render React Links on the server without the extra prop copies and the forwarded-ref hook. Link SSR rendering is 20-40% faster in the Link benchmarks and the React Start SSR request loop about 7% faster. - Fixed
Reuse hydration snapshot getters to avoid unnecessary store-instance effect updates when Links and other hydration-aware components rerender.
- Fixed
Make
pathParamsAllowedCharactersinitialization-only. Configure it when creating the router; changing allowed characters requires a new router instance. Remove decoder-update bookkeeping and decoder-change checks from route-owned path caches.
- New
2 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.