Horizontal codebase structures that group code by type (components, hooks, utils, types) create poor cohesion and make large codebases hard to navigate. The alternative is a vertical structure that groups code by domain or feature — everything related to 'widgets' lives in src/widgets/, regardless of whether it's a component,

9m read timeFrom tkdodo.eu
Post cover image
Table of contents
But AI doesn’t care !?Code colocationAlign VerticallyFinding the Right VerticalBut What About Shared Code?BoundariesWhere’s the catch?
1 Comment

Sort: