gaearon/rscexplorer

A tool for people curious about the React Server Components protocol

TypeScript

1,113

44 commits

updated Jan 5, 2026

See the code

README

RSC Explorer

A tool for educators and tinkerers curious about the React Server Components (RSC) protocol.

RSC Explorer runs both the Server and the Client parts of RSC in the browser.

It lets you inspect the RSC stream step by step and observe the React tree that is being streamed at every step. It also hosts some examples that showcase how React Server and Client features can interplay.

Screenshot

This is a hobby project and is not affiliated with or endorsed by any person, living or dead.

Blog Post

Read Introducing RSC Explorer for an overview of the tool and why I made it.

Examples

Embedding

You can embed RSC Explorer onto a page. Press the < > button in the top bar for the embed code.

Development

Key design decisions to keep in mind:

  • The Server part runs in a worker.
  • We try to approximate a real RSC environment as much as we can (while staying in browser).
  • No dependencies on React internals. We use react-server-dom-webpack and shim the Webpack runtime.
  • Minimal dependencies on the protocol format. We break the stream into rows, but treat them as an implementation detail of React.
  • Only end-to-end tests.

This is fully vibecoded but heavily steered so individual pieces may be weird or suboptimal.

Improvements welcome.

License

MIT

gaearon/rscexplorer

A tool for people curious about the React Server Components protocol

TypeScript

1,113

44 commits

updated Jan 5, 2026

See the code

README

RSC Explorer

A tool for educators and tinkerers curious about the React Server Components (RSC) protocol.

RSC Explorer runs both the Server and the Client parts of RSC in the browser.

It lets you inspect the RSC stream step by step and observe the React tree that is being streamed at every step. It also hosts some examples that showcase how React Server and Client features can interplay.

Screenshot

This is a hobby project and is not affiliated with or endorsed by any person, living or dead.

Blog Post

Read Introducing RSC Explorer for an overview of the tool and why I made it.

Examples

Embedding

You can embed RSC Explorer onto a page. Press the < > button in the top bar for the embed code.

Development

Key design decisions to keep in mind:

  • The Server part runs in a worker.
  • We try to approximate a real RSC environment as much as we can (while staying in browser).
  • No dependencies on React internals. We use react-server-dom-webpack and shim the Webpack runtime.
  • Minimal dependencies on the protocol format. We break the stream into rows, but treat them as an implementation detail of React.
  • Only end-to-end tests.

This is fully vibecoded but heavily steered so individual pieces may be weird or suboptimal.

Improvements welcome.

License

MIT

Significant stargazers

(top 24 of 41)

Steven

3,018 followers · starred Dec 2025

JounQin

673 followers · starred Jan 2026

Sukka

4,253 followers · starred Dec 2025

Karl Horky

973 followers · starred Jul 2026