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
1
u/theorcestra Sep 16 '25
We use file based where I work. Personally I like it because it's explicit about what goes where, no guesswork necessary.