Skip to content

shilman/next-react-server-components

 
 

Repository files navigation

Next.js App Router + React Server Components + Storybook

Create Storybook stories for key page states to the Vercel "Hacker Next" RSC demo.

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

And the new storybook here: chromatic.com.

Read the blog post here: storybook.js.org

Introduction

This is a demo app of the Hacker News website clone, which shows Next.js App Router with support for React Server Components.

Learn more.

Running Locally

  1. pnpm install
  2. pnpm dev

Go to localhost:3000.

Developing in Storybook

  1. pnpm install
  2. pnpm storybook

Go to localhost:6006.

Deploy

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

Deploy with Vercel

License

This demo is MIT licensed.

About

Demo repository for Next.js + React Server Components

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 44.6%
  • TypeScript 38.3%
  • CSS 17.1%