React (React or React.js) is an open source view rendering library originally developed at Facebook. The motivation behind React is to make the UI more predictable by establishing a hierarchy of modularized components. A simple component consists of DOM elements that describes its structure, plus any supporting data and methods. React restricts how components store and exchange data with state and props. A component’s state consists of all the data necessary to define a component’s appearance and behavior, while props refers to the data (properties) assigned to a child component by its parent. When something in the application changes, it typically corresponds to a change in state, which triggers React to re-render and make the change. React takes care of all the event listening/delegation and allows the developer to instead focus on what the application should look like given a particular state….