GitShow/vercel/next-react-server-components
vercel

next-react-server-components

Demo repository for Next.js + React Server Components

by vercel
nextjsreactreact-server-components
Star on GitHubForkWebsitenpm

JavaScript

994 stars165 forks13 contributorsQuiet · 8mo agoSince 2021MIT

Meet the team

See all 13 on GitHub →
shuding
shuding26 contributions
huozhi
huozhi19 contributions
leerob
leerob12 contributions
gfortaine
gfortaine2 contributions
timneutkens
timneutkens2 contributions
gaearon
gaearon2 contributions
abhi-works
abhi-works1 contribution
feedthejim
feedthejim1 contribution

Languages

View on GitHub →
JavaScript40.2%
CSS33.9%
TypeScript25.9%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
50
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 2 discussions · Last activity 8mo ago
See all on GitHub →
gaearon
Document or fix known issues with this demoOpenIssue

I'm starting to see this demo being used in performance comparisons in a way that implies this is the canonical RSC experience. It would be good to either solve or document (in README) concrete issues with it so that a future reader has an idea of what's correct and what's a known issue. (I've added https://github.com/reactjs/server-components-demo/pull/57 to the original demo in the same spirit.) Update The up-to-date list of problems (likely non-exhaustive) is here: https://github.com/vercel/next-rsc-demo/issues/13#issuecomment-988438962 Streaming "Jank" This demo shows each story "streaming in" individually: https://user-images.githubusercontent.com/810438/145104379-12b00f2d-9eb9-4434-b98b-b48036aa43ad.mov This is a rather janky user experience. I am guessing that this demo does it to make the "streaming" aspect obvious. However, I am observing that people take away that this jankiness is what we mean by "streaming". It seems like a rather unfortunate consequence if people's takeaway becomes that apps built with Server Components have pieces randomly "popping in" — especially because the whole point of the `` won't be in 18.0 and will come later in 18.x. It's not currently implemented on the server. Additional server request I am seeing an extra request to the RSC entry point from the client after the page loads: I wouldn't expect the initial page load to need to make any additional requests. Do we understand why it happens? Is this a bug or a known limitation of the current demo? Thanks I very much appreciate the work on this demo. I'm hoping we can fix and/or document the issues in it so that people are aware what's missing and don't make an impression of the overall RSC architecture or user experience based on an early demo. Thanks!

gaearon · 2y ago

Recent fixes

View closed PRs →
sophieynw
updates to header and bodyMergedPR
sophieynw · 1y ago
sabeerbikba
Fix URL Typo in README.mdMergedPR

Corrected the incorrect URL in the README.md file from to . This ensures that users are directed to the correct website without encountering a broken link.

sabeerbikba · 2y ago
leerob
Update deps.MergedPR
leerob · 2y ago
Structured data for AI agents

Repository: vercel/next-react-server-components. Description: Demo repository for Next.js + React Server Components Stars: 994, Forks: 165. Primary language: JavaScript. Languages: JavaScript (40.2%), CSS (33.9%), TypeScript (25.9%). License: MIT. Homepage: https://next-rsc-hn.vercel.app Topics: nextjs, react, react-server-components. Open PRs: 0, open issues: 2. Last activity: 8mo ago. Community health: 50%. Top contributors: shuding, huozhi, leerob, gfortaine, timneutkens, gaearon, abhi-works, feedthejim, khempenius, sebmarkbage and others.

·@ofershap

Replace github.com with gitshow.dev