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
4
u/Guisseppi Sep 14 '25
File based routing encourages colocation, which is rather ambigous and a lot of people don’t know how to scale it, Kent C. Dodds has a good brog post about the topic