Skip to main content
On this page

ReferencesThe UI Library

React

The library most of the web is written in.

React at a glance

Role
The UI Library
Domain
Web & Interface
Status
v19.3.1
What it does
  • Components — functions that return markup, composed rather than inherited.
  • Hooks — state and effects as ordinary functions you can call.
  • Reconciliation — the element tree is diffed and the DOM updated minimally.
  • View Transitions and Fragment Refs, stable as of React 19.3.
  • Server Components — a server can render a component without shipping its code to the browser.

What it is

React treats the screen as a function of state. Change the state, and the description of what should be on screen changes with it. The work React does is working out the difference between the old description and the new one.

The model has held up for more than a decade, which is why it became the default. The interesting work since has moved to the edges: rendering on the server, transitions between states, and how a ref points at a particular thing rather than to a position in a list.

How it works

When state changes, React re-runs the component, produces a new element tree, and diffs it against the previous one. The diff is structural — same type in the same position means update, different type means replace — and it is the reason a list keyed badly will re-create DOM nodes it did not need to.

  • React 19.3 made View Transitions and Fragment Refs stable, both of which had been experimental for a year.
  • Server Components move a component's rendering to the server, so its code never reaches the browser bundle.
  • The current major is React 19; React Native 0.88 moved to React 19.3.

Under the hood

PieceWhat it is
Current release19.3.1 — released October 14, 2026
Stable in 19.3View Transitions and Fragment Refs
Rendering modelA tree of elements, reconciled against the previous tree
Server ComponentsRender on the server; the component code is not shipped to the client
EcosystemReact Native, and the build tooling (Vite, Next.js, Docusaurus) around it

Where to read more