i try to make code simple for scalable and resuable structure ❤️
npx create-react-app {APP_NAME} --use-npm
then, we should change currect directory with
cd {APP_NAME}
npm install redux react-redux redux-thunk
npm install react-router-dom
npm install node-sass
- src/
- index.js
- App.jsx
- components/
- my-component.jsx
- ...{OTHER_COMPONENTS}.jsx
- store/
- reducers/
- ...{MY_REDUCERS_FUNCTION}.js
- index.js
- actions/
- ...{MY_ACTIONS_FUNCTION}.js
- constant.js [save-your-constant-action-name]
- index.js
- index.js
- reducers/