FFUNSTACK Static
DocsAPILearn
FUNSTACK StaticReact Server Components

SPAs Powered by RSC

Build high-performance Single Page Applications with React Server Components. No server required at runtime - just pre-rendered HTML with full SPA interactivity.

Get StartedGitHub
// vite.config.ts
import funstackStatic from "@funstack/static";

export default {
  plugins: [
    funstackStatic({
      root: "./src/root.tsx",
      app: "./src/App.tsx",
    }),
  ],
};

Why FUNSTACK Static?

The best of both worlds: SPA interactivity with RSC performance, powered by Vite.

Pre-rendered for Speed

RSC runs at build time to generate static HTML. Your SPA loads instantly with minimal overhead.

No Server Required

Deploy anywhere that serves static files. RSC benefits without the complexity of server infrastructure.

Vite-Powered

Lightning fast HMR in development and optimized builds in production. Enjoy the best DX with Vite.

Code Splitting

Meet defer(), an innovative way for programmatic code splitting in the RSC era.

Ready to Get Started?

Build your next SPA with the performance benefits of React Server Components.

Read the Documentation