What is React?
A JavaScript library for building user interfaces.
React is a declarative, component-based UI library built around a reconciliation algorithm.
Components are pure functions of their and state: UI = f(state). React computes the next render, diffs it against the previous tree, and commits the minimal set of DOM mutations.
Rendering is synchronous by default but can be interrupted in concurrent mode (React 18+), enabling features like transitions and Suspense to keep the UI responsive under load.
Diagram
Grounded on https://react.dev/learn
Next up
Components & Props
Build your UI from small, reusable pieces driven by inputs.