How lazarv/react-server works
Main Components Overview
┌─ React Server Framework ─────────────────────────────────────┐
• ┌─ Development Tools ─┐ ┌─ Core Runtime ──────────────┐ │
• Vite Integration │ │ - Server Components │ │
• HMR Support │ │ - Client Components │ │
• CLI Tools │ │ - Server Actions │ │
• ┘ │ - Streaming SSR │ │
• ┘ │
• ┌─ Router System ───────┐ ┌─ Adapters ──────────────┐ │
• File-based Routing │ │ - Vercel │ │
• Layouts & Pages │ │ - Core Adapter │ │
• Error Boundaries │ │ - Custom Adapters │ │
• ┘ └────────────────────────┘ │
• ┌─ Performance Layer ────┐ ┌─ Integration Layer ───┐ │
• Response Caching │ │ - Express │ │
• Revalidation │ │ - NestJS │ │
• Cluster Mode │ │ - External Libraries │ │
• ┘ └────────────────────────┘ │
• ┘
Data Flow Representation
• Request flow from client to server
• Server component rendering pipeline
• Client component hydration process
• Server action execution path
Key Integration Points
Connection points for:
• Framework integrations (Express, NestJS)
• External libraries (React Query, MUI, Mantine)
• Build system connections (Vite)
Deployment Flow
A separate section showing:
• Development flow
• Production build process
• Deployment options (Vercel, standalone)