DEV Community

Discussion on: How to Build Modern React Apps with the TanStack Suite in 2025

Collapse
 
andrewbaisden profile image
Andrew Baisden

Its hard to say they both have their pros and cons. TanStack Router has better TypeScript support and data handling which is inbuilt. React Router requires more manual setup and 3rd party libraries to get the same functionality.

However, React Router is more established and has better support and a bigger community because TanStack Router is much newer. Popular frameworks like Remix use React Router for page routing.

My advice would be to try both and see what you prefer. If you plan to use the TanStack suite for your project then you might as well stick with TanStack Router. However if your using a different framework like Astro, Next or Remix then they have their own routing solution so its only worth changing if you need something more than what they already offer.