DEV Community

Discussion on: React Beginner Question Thread ⚛

Collapse
 
aralroca profile image
Aral Roca

Hey Dan, I know that React is just a library. But I want to ask you about the best practice to structure the project files in a react big project (+ than 100 components, react-router, redux, hoc, etc).

Thanks!

Collapse
 
dan_abramov profile image
Dan Abramov

I have no idea! I never understood why people pay so much attention to project structures. I don’t think they’re fundamentally important but maybe I’m just missing something.

I tried to answer this here: reactjs.org/docs/faq-structure.html

Collapse
 
aralroca profile image
Aral Roca

Well, thank you so much. In my opinion it's important, it's like doing readable and maintable code, but of course it's not the most important and it's easier to change in the future than code. Just in the project that im working now, we (all the team) decided to reorganize all because the current structure is a mess. We are going to follow the recommendations of your link, thanks.