Framework Adapters
Build with React, Vue, Solid, or Svelte using renderer adapters.
TL;DR
PledgeJS is framework-agnostic. Set framework in pledge.config.ts and install the corresponding pledgestack-renderer-* package. React has full RSC support; Vue, Solid, and Svelte use SSR with hydration.
Last updated: August 22, 2026
Framework-Agnostic Core
PledgeJS is framework-agnostic. The core runtime (routing, SSR, API routes, middleware, caching) works with any UI framework via renderer adapters. Set framework in pledge.config.ts and install the corresponding pledgestack-renderer-* package.
| Framework | Package | RSC | SSR | Streaming | PPR | Status |
|---|---|---|---|---|---|---|
| React | pledgestack-renderer-react | Yes | Yes | Yes | Yes | Full support |
| Vue | pledgestack-renderer-vue | No | Yes | Partial | Yes | SSR + hydration |
| Solid | pledgestack-renderer-solid | No | Yes | Partial | Yes | SSR + hydration |
| Svelte | pledgestack-renderer-svelte | No | Yes | Partial | Yes | SSR + hydration |
RSC is React-Only
React Server Components are React-only. Other frameworks use standard SSR with hydration. Streaming for Vue/Solid/Svelte uses async SSR (no Suspense-style progressive streaming). React uses renderToPipeableStream with Suspense boundaries for true progressive streaming.
PledgePack Framework Support
PledgePack, the Rust+Zig bundler, supports additional frameworks through adapters.
| Framework | Status | File Types |
|---|---|---|
| React | Full | .tsx, .jsx, Fast Refresh, automatic JSX runtime |
| Solid | Full | .tsx, .jsx, automatic JSX with solid-js |
| Vue | Transform | .vue (SFC), scoped CSS, script setup |
| Svelte | Transform | .svelte (SFC), scoped CSS, render functions |
| Astro | Transform | .astro, frontmatter, islands-ready |
| Next.js | Adapter | App Router, Pages Router, API routes, SSR |
| TanStack | Adapter | File-based routing, route tree generation |
| PledgeJS | Adapter | React frontend + Rust backend, .rs/.psx |
| Vanilla TS/JS | Full | .ts, .js, .mjs |