Bun React SSR
Builds custom server-side rendered React applications with Bun using native HTTP serving, streaming SSR, and client hydration.
Bun React SSR provides Claude Code with patterns and best practices for creating high-performance, framework-free server-rendered React applications using the Bun runtime. It guides you through complete SSR architecture, including HTTP request handling with Bun.serve, traditional renderToString SSR, streaming SSR using renderToReadableStream with React 18+ Suspense boundaries, browser bundling with Bun.build, client hydration state passing, and custom lightweight routing.
Características Principales
01Bundles client hydration code and stylesheets directly with the native Bun.build API
02Configures React Suspense streaming for faster Time to First Byte (TTFB) and progressive loading
03239 GitHub stars
04Resolves common SSR issues such as hydration mismatches and missing browser globals
05Implements high-speed SSR using Bun.serve with both renderToString and renderToReadableStream
06Manages server-side data fetching and initial window state hydration synchronization
Casos de Uso
01Migrating existing Node.js React SSR servers to Bun for faster runtime execution and startup
02Building lightweight, custom React SSR web applications without heavy fullstack frameworks
03Implementing progressive streaming SSR architectures with React 18 Suspense boundaries