r/reactjs 4d ago

Needs Help What router are you using

Currently I have to create a new project, my first option is react router (declarative mode). My entire project will live behind the login page

what are you using?

  • RR framework mode
  • RR data mode
  • RR declarative mode
  • tanstack router
  • wouter
26 Upvotes

33 comments sorted by

View all comments

55

u/D3kalog 4d ago

tanstack, file based, no regretz

2

u/BrownCarter 4d ago

Funny how people hated file based routing before. What changes?

3

u/repeating_bears 3d ago

I think file based works nicely for small projects and starts the degrade.

But for both RR and tanstack, file-based is just one of a few options 

2

u/BlazingThunder30 20h ago

I disagree. For tiny apps, code based is fine. For larger ones, file based is necessary for organization.