Try the demo live here: next-rsc-hn.wasmer.app.
Note: This app is a clone of Next.js Server Components demo, minimally adapted to run in WinterJS.
This is a demo app of the Hacker News website clone, which shows Next.js App Router with support for React Server Components.
npm install
npm dev
You can run the React Server Components project using Wasmer (check out the install guide):
npm run edge:build
npm run edge:preview
Open http://localhost:3000 with your browser to see the result.
The easiest way to deploy this Next.js Server Side components app is to use the Wasmer Edge.
Live example: https://next-rsc-hn.wasmer.app/
First, you'll need to run npm run edge:build
, and then, to deploy to Wasmer Edge:
wasmer deploy