4 ms·
File-based routing is one of the best things to have up to particular size of an application. Makes navigating the code so much easier then routing spread throu
by wdb 2y ago
File-based routing is one of the best things to have up to particular size of an application. Makes navigating the code so much easier then routing spread throughout the code base
- bryanrasmussen 2y agoIf you have a single routes source that makes it just as easy, although that really depends on the people making sensible route handlers for the routes to point to, if people are not good at doing that obviously the implicit order of /pages is superior.
- bluefirebrand 2y agoYou shouldn't need to structure the codebase based on how the application is routed More importantly you shouldn't need to restructure the codebase if the application routing changes File based routing is a terrible idea
- moogly 2y agoMy exact visceral reaction.