WRidder / react-spa

Community site SPA based on ReactJS
http://react-spa.herokuapp.com/
MIT License
297 stars 34 forks source link

Structure the src folder #7

Closed captDaylight closed 9 years ago

captDaylight commented 9 years ago

First, I want to say great work on creating this resource. It's been really helpful.

My one thing, the src folder could be more structured, right now there is one level of hierarchy. Folders like styles, tests, and assets are mixed in with your application folders like routes, actions, and stores. It will make it easier for someone from the outside looking in to jump into the code quicker.

WRidder commented 9 years ago

@captDaylight Thanks for the feedback! I'll look into it. Any particular suggestions for the folder structure you have in mind?

WRidder commented 9 years ago

I was thinking somethings like:

captDaylight commented 9 years ago

ya totally, I think that would be great. I'm sure you are thinking this, but app.js would be at the root of src/ so you can see how src is initialized. :thumbsup:

WRidder commented 9 years ago

Just updated the folder structure, let me know what you think! :)