The lesson includes a small demo React app, which defines a JSX component and renders it in the Web browser.
Later in the lesson, you will find a slightly more complicated demo: how to create a simple React calculator, which sums two numbers. We will review each of the files inside the sample React app to understand better how it works internally.
So, what is React?
When we talk about user interface and front-end frameworks, it is worth mentioning React.
- React is а component-based UI library.
- With React, developers create reusable UI components, which have a lifecycle, internal state and behavior.
It is discussable whether React is a library or a framework. It is maybe somewhere in between.
By adding some additional components like React Router, MobX, Redux, Flux, React Toolbox, and some others, we can turn to React into a fully-functional Web front-end framework.
- React – Overview
- Live Demo – Summator