To install Redux into an app created with Create React App that’s using Typescript, run the following to install:
npm install --save redux react-redux @types/react-redux
Optionally, you can also install the following to allow for both:
- Warning in case of state mutation.
- Connecting to the app using Redux DevTools.
npm i --save-dev redux-immutable-state-invariant npm install --save redux-devtools-extension