Your Folder Structure Is an Interface
12 Aug 2026
31 min read
On this page
- Bad structure never throws an error
- The destination, and the part nobody tells you
- Folders by kind lose to folders by purpose
- Own by imports, not by layout
- Names that lie cost more than names that are vague
- Make the URL tree answer the same question as the folder tree
- How to actually move
- Conventions that aren't machine-checked rot
- The honest numbers
- Two things the plan didn't predict
- Why this pays double when agents are writing the code
- The question worth asking
More Articles
Monorepo alternative to sharing routes for NextJs 14 in 2024
How you can achieve code sharing at page level without setting up a monorepo using Nextjs 14 colocation capability
Read article
Understanding the `type` module field in package.json
Learn about the `type` field in package.json, its possible values, and its impact on Next.js projects.
Read article
The Evolution of Web Development
Isomorphic JavaScript, SSR, Hydration, and Resumability
Read article
How to Generate a Table of Contents from Markdown in React Using TypeScript
Learn how to generate a Table of Contents (TOC) from Markdown content in a React application
Read article