DEV Community

Discussion on: How I structure my React projects

Collapse
 
soumavabanerjee profile image
Soumava Banerjee

I also create my structure like this, but I create a separate UI folder within components that hold my Card, Buttons and other common components. I skip this part when I use a UI library like Material UI or Chakra UI.

Collapse
 
larswaechter profile image
Lars Wächter

Actually, I also use an UI component folder for more generic components like Buttons for example. I just didn't mention it in the article to keep things simple. Might be a good idea to add it.