# using-react-ssr-streaming
> Use when implementing React server-side rendering with streaming, Suspense, or partial pre-rendering
- Author: Dario Farzati
- Repository: mostlyhumanagency/claude-plugin-coding-react
- Version: 20260209222058
- Stars: 0
- Forks: 0
- Last Updated: 2026-02-10
- Source: https://github.com/mostlyhumanagency/claude-plugin-coding-react
- Web: https://mule.run/skillshub/@@mostlyhumanagency/claude-plugin-coding-react~using-react-ssr-streaming:20260209222058
---
---
name: using-react-ssr-streaming
description: Use when implementing React server-side rendering with streaming, Suspense, or partial pre-rendering
---
# React SSR Streaming
## Overview
React SSR streaming renders HTML on the server and sends it progressively to the client. Instead of waiting for all data to load before sending HTML, streaming sends the initial shell immediately and streams in suspended content as it resolves. The core APIs are `renderToPipeableStream` (Node.js) and `renderToReadableStream` (Web Streams/Edge). For static generation, use `prerender` to wait for all data. Partial Pre-rendering combines pre-rendered static shells with dynamic content that resumes at request time.
## When to Use
- Building server-rendered React applications with progressive content loading
- Implementing Suspense-based data fetching on the server
- Optimizing time-to-first-byte while waiting for slow data sources
- Creating static sites with `prerender` for build-time HTML generation
- Implementing Partial Pre-rendering for hybrid static/dynamic pages
## Core Patterns
### Basic Streaming SSR
```tsx
import { renderToPipeableStream } from "react-dom/server";
app.get("/", (req, res) => {
let didError = false;
const { pipe, abort } = renderToPipeableStream(