The Atomic Design Pattern is very useful for large projects. It is a design pattern used widely in industry and helps you organise your code and components in a logical way.
A bit like a perodic table, each part of a page or component can be broken down into small segements, such as atoms, molecules, organisms, templates and pages. Below I have outlined various examples of these segements and how they are used within a React component/app.
When using the Atomic Design Pattern, the root folder is usually components
and the sub folders are usually atoms
, molecules
, organisms
, templates
and pages
.