Skip to content

vercel/next-react-server-components

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.

Next.js 13 + React Server Components

Try the demo live here: next-rsc-hn.vercel.app.

Warning: This demo showcases using Server Components with the app directory inside Next.js 13. It's not ready for production adoption, or performance benchmarking as the underlying APIs are not stable yet, and might change or be improved in the future.

Introduction

This is a demo app of the Hacker News website clone, which shows Next.js 13's app directory (beta) with support for React Server Components.

Learn more.

Running Locally

  1. pnpm install
  2. pnpm dev

Go to localhost:3000.

Deploy

You can quickly deploy the demo to Vercel by clicking this link:

Deploy with Vercel

License

This demo is MIT licensed.