The first step in installing react-redux
npm install react-redux
The second step to create a store and reducer
store.js file
import {createStore } from 'redux';
import reducer from './reducer';
const store = createStore(reducer);
export default store