An open API service indexing awesome lists of open source software.

https://github.com/jas-chen/vite-h3-react-rsc-starter

Vite + h3 + React RSC
https://github.com/jas-chen/vite-h3-react-rsc-starter

h3 react react-server-components rsc vite

Last synced: 3 months ago
JSON representation

Vite + h3 + React RSC

Awesome Lists containing this project

README

          

# Vite + h3 + React RSC

This example shows how to setup a React application with [Server Component](https://react.dev/reference/rsc/server-components) features on Vite using [`@vitejs/plugin-rsc`](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-rsc) and [h3](https://github.com/h3js/h3).

Based on https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-rsc/examples/starter.

```sh
# run dev server
npm run dev

# build for production and preview
npm run build
npm run preview
```

## License
MIT