Ya. I’ve definitely done a lot of apps how you suggested in the post. I think going one better is having the person components folder in the person screen folder. No need to jump about the app to find what you need. Having containers to fetch data, components, tests all in the same folder just really makes life easy.

I have some older projects where everything is separated by type and it’s just annoying and doesn’t seem to have any benefit except making items harder to find.

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