i was just looking at this and it's spot on about how grouping everything by hooks or utils is such a mess once you actually scale. seeing that sentry example with 200 files sitting in one single components directory really hit home because i've been there. it makes no sense to have usetheme sitting right next to usetodo when they have nothing to do with each other. the whole horizontal split is basically just laziness for when you're starting a project. once you get enough domain logic, you can't even find anything without searching the whole tree. it's fine if you think ai agents are gonna rewrite your entire tech debt away next weekend, but that's not how real production code works. do you guys actually use domain folders or are you still stuck in the same folder nightmare?
more here:
https://tkdodo.eu/blog/the-vertical-codebase