/nanrsc

naive implementation of react server components

Primary LanguageTypeScript

nanrsc

Naive implementation of react server components.

Features

  • Server Components (async and not async)
  • Server Actions
  • Client Components ('use client')
  • Client side routing

Install and run

bun install

To run:

bun run lib/server.ts

Project structure

For the moment is really badly structured

  • /lib is the actual RSC server
  • /app is example app code that is being served