re: How I structure a React project VIEW POST

re: Cool idea. I use screens and components, but the components directory gets rather unwieldy xD

Same here, tho I have a folder called "modules" which I believe is similar to the Utils mentioned in the main thread.

You could try dividing your components folder (instead of src) using the organic analogy, perhaps that would help?


I got

  • modules
    • components
    • screens
    • utils

The components directory is the biggest, but I'm looking into react-native-elements right now, so maybe this will remove the need for most of my small/dumb components.

code of conduct - report abuse