Tech Tree of the Web

The history of web technology, 1945 to now: 112 ideas and the lines between them. Drag, scroll or press ← → to travel. Open any one for its story.

No. 108 / 112Seen 0 / 112Colophon

The Present

React Server Components, 2020. Era VI, The Present.

Era VI · 2017–2026

← drag · scroll · arrow keys →

2020serverasync function Note({ id }) { const note = await db.notes.get(id); return <article>{note.text}</article>;}

A component that runs on the server, reads the database directly and sends no code to the browser. Typeset for this timeline: no licence-clean photograph of the thing itself was found.

Key details

When
2020 (announced 21 December 2020; stable in React 19, 5 December 2024)
Who
Sebastian Markbåge (initial design), Andrew Clark, Dan Abramov, Joe Savona, Lauren Tan and the React team
Where
Facebook
Answered
It answered growing client bundles and client-server data-fetching waterfalls caused by fetching in useEffect.
Led to
It became stable in React 19 alongside Server Actions and the "use server" directive for frameworks supporting full-stack React.

No. 108 · 2020 · Script · Era VI, The Present

React Server Components

Let components run only on the server and send rendered results, so their code never reaches the browser.

Facts

  1. The React team announced Server Components on December 21, 2020 with a talk, a demo and RFC #188, and called them still in research and development. 1
  2. The RFC credits Sebastian Markbåge with the initial design, developed with Andrew Clark, Dan Abramov and Joe Savona. 2
  3. The RFC's example libraries marked and sanitize-html totaled over 240K of JavaScript, which Server Components would keep out of the client bundle. 2
  4. A limited Facebook experiment on a single page reported about a 30% reduction in product code size. 2
  5. React 19, released December 5, 2024, includes the Server Components features and declares them stable between minor versions. 3

Quirks

  • The first design marked files with .server.js and .client.js extensions, later replaced by a 'use client' directive. 2

Sources

  1. React Blog, "Introducing Zero-Bundle-Size React Server Components", December 2020
  2. React RFC 0188, Server Components
  3. React Blog, "React v19", December 2024
Came from
Led to
Nothing on this tree yet