DEV Community

Discussion on: Opinionated Project Structures in React.js without a Framework

Collapse
 
yasamoka profile image
Ramzi Sabra

This is very horizontal and will give you a hard time as you scale up. Look into domain-driven design and keep all your entities grouped by domain. This will make modularity, extensibility, refactoring, and code splitting easier to achieve.

Collapse
 
localpath profile image
Garrick Crouch

Yea I would say this is the step below that in practice

Collapse
 
yasamoka profile image
Ramzi Sabra • Edited

That makes sense. I tend to use this structure within the domain itself since the entities are all related there.