DEV Community

Discussion on: How do you structure your React projects?

cwraytech profile image
Christopher Wray • Edited on

Also, personally I like to keep things as organized as possible. Usually I have a components folder where I place reusable components, a layouts folder for different page layouts, and a pages folder for different pages on the site.

I also have an assets folder for css and images.

Separating concerns this way makes it much easier to go to code that contains exactly what you need to update, vs searching through several files.

isarisariver profile image
Marian Author

That's good advice, thank you :)