One thing I don’t like about sticking everything in a component folder is when you’re working on a feature and can’t easily find the items you’re looking for. If a certain component is specific to a certain feature I like to have that component in that feature’s folder. Only a component like Button that gets used across the app world I stick in components folder. I also think it’s good to let structure evolve as a project gets larger. Starting off having components in the specific feature folder and when you see the items is used in many places, moving it to the component folder.

Written by

Founder: Skilled.co.il & Draft Fantasy. Full stack JavaScript Engineer. https://elie.tech

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store