跳到正文

RedwoodSDK

热门趋势活跃
redwoodjs/sdk

面向 Cloudflare 的服务端优先 React 框架:一个 Vite 插件,提供 React 服务端组件、Server Functions 和类型安全、基于 Web 标准的路由。

在 GitHub 查看
星标
1729
Fork
97
关注
1729
未关闭 Issue
60

该介绍目前仅提供英文版本。

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.

按共同分类和标签排序的同类开源项目。

全部 Web 框架项目 →