About RSC Router

A modern, code-first router designed specifically for React Server Components.

Why RSC Router?

Traditional React routers were built for client-side rendering. RSC Router is built from the ground up for the server-first paradigm of React Server Components.

It provides a seamless developer experience with full TypeScript support, automatic code splitting, and optimized streaming for edge deployments.

Key Features

  • Nested routes with layout composition
  • Type-safe params extraction
  • Partial rendering optimization
  • Server Actions with automatic revalidation
  • Middleware support
  • Built-in caching strategies

How It Works

1

Request Arrives

Cloudflare Worker receives the request at the edge

2

RSC Renders

Server Components render and stream the response

3

Client Hydrates

Only interactive components hydrate on the client