RFC: Next.js App Router HN demo #2552
-
As more projects are adopting Next.js 13+ App Router approach but current Next.js documentation and demo are still showcasing Page Router, I had derived the HN Demo to showcase how to use SSR, Here's the demo on Stackblitz (Demo A) I intend to create a PR to either embed or link this demo to Jotai's Next.js doc page to provide some reference for new learners. My only concern is the use of I also tried another approach to achieve memory cache with write atom only (Demo B). And feel that this one follow Jotai's wisdom better, but loosing the benefit of Suspense. Please review and suggest which is better as an official documentation demo. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
Thanks for opening new discussion! App Router HN demo would be great. Some random comments:
Are they not supported in the Page Router example? |
Beta Was this translation helpful? Give feedback.
Good point. I think it would be nice to have one embed demo and rest are links.