Installing Redux Into Typescript Create React App

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

Leave a Reply

Your email address will not be published. Required fields are marked *