https://github.com/codehz/bun-react-ssr
https://github.com/codehz/bun-react-ssr
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codehz/bun-react-ssr
- Owner: codehz
- License: mit
- Created: 2023-11-08T11:09:05.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-20T03:00:57.000Z (about 1 year ago)
- Last Synced: 2025-04-09T23:20:46.001Z (10 months ago)
- Language: TypeScript
- Size: 67.4 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bun-react-ssr
WIP!
## Features
1. Use bun's native http server / FileSystemRouter / build system
2. React 18 Server Side Rendering
3. Client hydrate support
4. `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