HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
reactjs
server-components-demo
JavaScript2020–2020
reactjs / server-components-demo

server-components-demo

Demo app of React Server Components.

2Distinct people
2Mentions
0Explicit recommenders
4.4KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Demo app of React Server Components.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 7:56:55 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by 3-hour interval2 dated mentions

Observed mentions: 2020-12-21 22:02:08 UTC to 2020-12-24 09:26:49 UTC.

012020-12-21 21:00:00 UTC to 2020-12-22 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsDec 21, 21:002020-12-22 00:00:00 UTC to 2020-12-22 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-22 03:00:00 UTC to 2020-12-22 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-22 06:00:00 UTC to 2020-12-22 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-22 09:00:00 UTC to 2020-12-22 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-22 12:00:00 UTC to 2020-12-22 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-22 15:00:00 UTC to 2020-12-22 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-22 18:00:00 UTC to 2020-12-22 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-22 21:00:00 UTC to 2020-12-23 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-23 00:00:00 UTC to 2020-12-23 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-23 03:00:00 UTC to 2020-12-23 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsDec 23, 03:002020-12-23 06:00:00 UTC to 2020-12-23 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-23 09:00:00 UTC to 2020-12-23 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-23 12:00:00 UTC to 2020-12-23 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-23 15:00:00 UTC to 2020-12-23 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-23 18:00:00 UTC to 2020-12-23 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-23 21:00:00 UTC to 2020-12-24 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-24 00:00:00 UTC to 2020-12-24 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-24 03:00:00 UTC to 2020-12-24 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-24 06:00:00 UTC to 2020-12-24 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-24 09:00:00 UTC to 2020-12-24 12:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsDec 24, 09:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Dec 21, 21:002020-12-21 21:00:00 UTC2020-12-22 00:00:00 UTC101
Dec 22, 00:002020-12-22 00:00:00 UTC2020-12-22 03:00:00 UTC000
Dec 22, 03:002020-12-22 03:00:00 UTC2020-12-22 06:00:00 UTC000
Dec 22, 06:002020-12-22 06:00:00 UTC2020-12-22 09:00:00 UTC000
Dec 22, 09:002020-12-22 09:00:00 UTC2020-12-22 12:00:00 UTC000
Dec 22, 12:002020-12-22 12:00:00 UTC2020-12-22 15:00:00 UTC000
Dec 22, 15:002020-12-22 15:00:00 UTC2020-12-22 18:00:00 UTC000
Dec 22, 18:002020-12-22 18:00:00 UTC2020-12-22 21:00:00 UTC000
Dec 22, 21:002020-12-22 21:00:00 UTC2020-12-23 00:00:00 UTC000
Dec 23, 00:002020-12-23 00:00:00 UTC2020-12-23 03:00:00 UTC000
Dec 23, 03:002020-12-23 03:00:00 UTC2020-12-23 06:00:00 UTC000
Dec 23, 06:002020-12-23 06:00:00 UTC2020-12-23 09:00:00 UTC000
Dec 23, 09:002020-12-23 09:00:00 UTC2020-12-23 12:00:00 UTC000
Dec 23, 12:002020-12-23 12:00:00 UTC2020-12-23 15:00:00 UTC000
Dec 23, 15:002020-12-23 15:00:00 UTC2020-12-23 18:00:00 UTC000
Dec 23, 18:002020-12-23 18:00:00 UTC2020-12-23 21:00:00 UTC000
Dec 23, 21:002020-12-23 21:00:00 UTC2020-12-24 00:00:00 UTC000
Dec 24, 00:002020-12-24 00:00:00 UTC2020-12-24 03:00:00 UTC000
Dec 24, 03:002020-12-24 03:00:00 UTC2020-12-24 06:00:00 UTC000
Dec 24, 06:002020-12-24 06:00:00 UTC2020-12-24 09:00:00 UTC000
Dec 24, 09:002020-12-24 09:00:00 UTC2020-12-24 12:00:00 UTC110

What Hacker News says

1 sources
>Webpack and/or React must be very aware of what the other is doing here in order to drop the server-only JS from the bundle. Is it even possible to use alternate bundlers with this feature? The bundler-specific code is here[1]. As you can see, it's not much. We will happily merge PRs and tweak the infrastructure to work with other bundlers. E.g. we're already in conversations with Parcel who are also interested. Yes, there is a cost in under-the-hood complexity, but we think you get a pretty high benefit (e.g. automatic code splitting), so we think it is worth that integration. Just like we take many other things bundlers do that we now take for granted. >The React server has to be deeply concerned with the application logic to know how to transparently pass state back and forth, presumably via some generated JSON endpoints. I guess mayb
Read the rest
e this was already the case for hybrid client/server apps. Not quite sure what you mean by this, but you be the judge: [2]. There is no "state" being passed. Server Components are completely stateless. (But they can render Client Components, which are normal React components on the client and have the lifecycle you're familiar with.) >What's the lifetime of "persisted server-component state"? A component lifecycle? A page reload? A user session? Server Components are not stateful. They follow a request-response model, just like traditional server pages. The novel part is that we're able to merge the result into the client tree (instead of .innerHTML = newHTML with old school partial templates, which destroys client state). >How did they make an asynchronous call synchronous? JS doesn't normally allow that outside of an async/await context. Did they wrap the JSON response object in some kind of lazy proxy or something? We will be posting a separate RFC in the coming weeks/months that dives into details. But the high-level answer is that we want to model it as a cache that you read synchronously. (So if the answer isn't synchronously available, we throw and retry later.) Async/await adds unnecessary overhead when content is already available synchronously, and especially on the server we'll expect many synchronous cache hits because some data has already been accessed from a parent component. Think of DataLoader-like abstractions. [1]: https://github.com/facebook/react/blob/6cbb9394d1474e3a728b4... [2]: https://github.com/reactjs/server-components-demo/blob/a8d5c...
In Zero-Bundle-Size React Server Components

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.