0.2.3 • Published 2 months ago
@bunpmjs/bun-react-ssr v0.2.3
bun-react-ssr
WIP!
Features
- Use bun's native http server / FileSystemRouter / build system
- React 18 Server Side Rendering
- Client hydrate support
getServerSideProps
! (note: I did some special processing so that it can be excluded when the client bundle is built, so you don't have to worry about mixing server and client logic.)
TODO
- app dir mode?
"use server"
Usage
No docs yet, sorry.
See example folder.
Run example/build.ts to build Run example/index.ts to start a server