Let's get started with using Redux. We will start with basic configurations, and we can take the configurations further in each chapter:
- Installing node and npm/yarn is done as follows:
Install the latest version of a node from https://nodejs.org/. To verify the correct installation, run the following command:
node --version
You can get the latest version of yarn from https://yarnpkg.com/en/, and npm from https://www.npmjs.com/get-npm.
- Initialize the project as follows:
The first thing is to initialize the project. In this project, we are going to use yarn. The easiest way to initialize the project with package.json is to run the init command:
yarn initORnpm init
Follow the onscreen instructions and provide the details. ...