Create React Redux Module which creates a moduls in secs.
Either through cloning with git or by using npm (the recommended way):
npm install -g create-react-redux-module
And create-react-redux-module will be installed globally to your system path.
You can also install create-react-redux-module as a development dependency:
npm install --save-dev create-react-redux-module
Give the below mentioned command in your react project's root directory
create-react-redux-module user-profile
It will create a directory called user-profile
inside the scr
folder.
Inside that directory, it will generate the initial redux module structure:
src
└── user-profile
├── user-profile.scss
├── UserProfile-spec.js
├── UserProfileAction.js
├── UserProfileComponent.jsx
├── UserProfileConstant.js
├── UserProfileContainer.js
└── userProfileReducer.js