3 ms·
I'm a visual person so perhaps seeing some code will help. I've gutted a CRUD heavy side project that shows how I lay things out and put it on Github [1]. I lef
by scwoodal 11y ago
I'm a visual person so perhaps seeing some code will help. I've gutted a CRUD heavy side project that shows how I lay things out and put it on Github [1]. I left out the back end folder so this repo isn't intended to work. The "users" and "journals" folders are the CRUD parts.
I prefer a domain folder structure versus splitting things by function. So instead of folders like "actions/userActions.js" and "reducers/userReducer.js" I'll do "users/actions.js" and "users/reducers.js".
Ping me on github if you have any more questions.
[1] https://github.com/scottwoodall/react-demo https://github.com/scottwoodall/react-demo
- silviogutierrez 11y agoWhoa thanks! I'll take a look.