We'll use npm to install Redux. There are also a couple of dependencies it needs, and we're going to install all of them at once. Make sure you're at the root directory of your project folder, and do the following:
npm install --save redux react-redux redux-thunk
Here's a brief overview of the three packages we're installing into our project:
- Redux: This is the library itself.
- React-Redux: This is a library that provides bindings for React. Redux isn't specifically tied to React, and this library will let us access the Provider component to pass down our props at the parent level with ease.
- Redux-Thunk: This is middleware that will help us make asynchronous calls with our actions, and is useful because we will be making ...