add redux to react code example
Example 1: npm install redux and react-redux
npm install redux react-redux --save
Example 2: redux install
npm install redux
Example 3: create-react-app redux
Copynpx create-react-app my-app --template redux
Example 4: react redux
yarn add react-redux