DEV Community

Discussion on: Folder Structure for Modern Web Applications

Collapse
 
httpjunkie profile image
Eric Bishard

Folders exist to be used. Just like code and tests they should be self explanatory and make understanding discovery and navigation easy. Just at important is naming of the files and co-location of certain logic.

Not one is really more important than the other but folders like layout of your application create a better DX as layout creates a better UX.

It's always interesting to see how others do it, stunt just take everyone's advice, it needs to be a team decision as with most things, but there is some definite and obvious patterns that can be learned through articles such as this.