API reference
| Import | Use |
|---|---|
effective-rsc | Application and server authoring factories |
effective-rsc/client | ServerFn query/stream helpers and error types |
effective-rsc/server | Custom Bun startup with start |
effective-rsc/build | Deployment adapter types |
effective-rsc/types | TypeScript declarations for stylesheet and asset imports |
Application.ersc<Services>() returns Page, Layout, Loading, Component, Middleware,
Routes, ServerFn, withMiddleware, and make. Create values from one instance and its derived
views. The package root is server-only; importing it from a Client Component throws.