A fully type-safe router designed for React suspense/transitions with built-in data fetching, first-class search-param APIs and client-side cache friendly design.Get Started
TanStack Router builds on modern routing patterns made popular by other tools, but has been re-engineered from the ground up to be 100% typesafe without compromising on DX. You can have your cake and eat it too!
Hoist your data fetching and avoid waterfalls with TanStack Router's built-in loader API . Need something more custom? Router's API is designed to work with your favorite client-side cache libraries! Your users will notice the difference when your pages not only load in parallel but also stay up to date over time.
Instead of throwing you to the URLSearchParam wolves, TanStack Router outfits you with state-manager-grade search param APIs. With schemas, validation, full type-safety and pre/post manipulation you'll wonder why you're not storing everything in the URL. Goodbye in-memory state 👋!
Behold, the obligatory feature-list:
Create a route, pop in a Router, and start slingin' some code!