この紹介文は現在英語版のみです。
Overview
RedwoodSDK is a server-first React framework that runs on Cloudflare (workerd) only. It starts as a Vite plugin that enables React Server Components and Server Functions, then adds a type-safe, standards-compliant router that takes you from request to response.
Features
- Vite-first setup with no extra ceremony
- React Server Components and Server Functions
- A type-safe server router built on web standards
- Global and per-route middleware for request/response control
- Realtime-ready primitives
Quickstart
npx create-rwsdk my-project-name
cd my-project-name
pnpm install
pnpm dev
Routes are defined in worker.tsx with defineApp and route — as long as a handler returns a valid Response, RedwoodSDK is happy.