nanmon / nanrsc

naive implementation of react server components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

naive implementation of react server components


Languages

Language:TypeScript 92.9%Language:JavaScript 7.1%