Skip to content

Commit

Permalink
docs: add Next.js App Router HN demo (#2562)
Browse files Browse the repository at this point in the history
  • Loading branch information
trongthanh committed May 21, 2024
1 parent 1dbe400 commit c9b504f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/guides/nextjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,15 @@ Jotai provides SWC plugins for better DX while developing with Next.js. [Find mo

#### HN Posts

Page Router demo:

<Stackblitz
id="stackblitz-starters-cnz9lg"
file="store%2Findex.ts,pages%2F_app.tsx,pages%2Findex.tsx"
/>

App Router [demo on Stackblitz](https://stackblitz.com/edit/jotai-nextjs-app-router-demo?file=store%2Findex.ts,app%2Flayout.tsx,components%2FPost.tsx,app%2Fpage.tsx)

#### Next.js repo

```bash
Expand Down

0 comments on commit c9b504f

Please sign in to comment.