A fully typesafe router for React with first-class search-param APIs and client-side cache aware design.Get Started
TanStack Router builds on modern routing patterns made popular by tools like React Router, Next.js, but is architected from the ground up to be 100% typesafe without compromising on DX.
Fetch on the server, of course, but don't give up your client side caches! TanStack Router's API is designed to work with client-side caching! Your users will notice the difference when your pages load quickly from the server AND stay up to date.
Instead of throwing you to the 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.
Behold, the obligatory feature-list:
Pop in a Router component and start slinging some routes. Let's see it in action!