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

33 comments sorted by

View all comments

Show parent comment

2

u/Impressive_Star959 Sep 17 '25

Can you provide an example of what colocation by component hierarchy means?