Before learning how to use Redux with React, we should first get familiar with React itself. We are going to use the project template (the first code example) from Chapter 2, Implementing the Elements of Redux.
Firstly, we have to install React and ReactDOM via npm:
npm install --save react react-dom
React is the core library, which deals with user interface components.
ReactDOM renders React components to the DOM, which, in this case, means that HTML will get rendered in the browser.