r/reactjs • • Sep 14 '25
Discussion File-based routing vs code-based routing in TanStack router, which one do you use and why?
[deleted] — view deleted post
35
Upvotes
r/reactjs • • Sep 14 '25
[deleted] — view deleted post
View all comments
Show parent comment
23
u/Abs0rbed Sep 14 '25
Once you get into heavier routing you need to jump into a bunch of the specially named files so your directories look like a mess. It kind of gets annoying figuring out which of the dozen __route.tsx files I have open is the right one in my editor. But it’s convenient for now so I have no need to change