DEV Community

Discussion on: Architecting React Apps Like it's 2030

Collapse
 
dalsoft profile image
DalSoft • Edited

Enjoyed the post I had similar thoughts a while back and come up with something similar:
app1/
├─ src/
│ ├─ Components/
│ ├─ Apis/
│ ├─ Assets/
│ ├─ Components/
│ ├─ Context/
│ ├─ Hooks/
│ ├─ Pages/
│ ├─ Styles/
│ ├─ Utils/

I turned it into a GitHub template main thing for me is exactly what you said everything related to the component styles, tests etc should live in the same folder. I've kept to this with very large apps, and it works really well as your app grows.