The goal is to apply some kind of modularisation that will make the codebase easier to understand by setting boundaries between features and minimizing code coupling and side effects. By default when scaffolding a new project using one of the popular front-end frameworks the component structure is flat and follows no hierarchy whatsoever.
Table of contents
A Front-End Application Folder Structure that Makes SenseDefault Project StructureBreaking the Application into Multiple FeaturesA More Elaborate Project StructureConclusion20 Comments
Sort: