News for hackers. Stuff that matters.
Re:How to Inspect React Server Component Activity with Next.... by sesm on Thursday January 23, 2025 @08:43AM (#42803911)
> What exactly does it improve over lets say PHP or Rails

Uses the same code to render on server and in browser, enables moving render logic from browser to server and vice versa without doing a complete rewrite.

Re:How to Inspect React Server Component Activity with Next.... by datadrivenangel on Thursday January 23, 2025 @08:58AM (#42804062)
Not very DRY.
Re:How to Inspect React Server Component Activity with Next.... by monocasa on Thursday January 23, 2025 @09:42AM (#42804487)
Arguably more.
Re:How to Inspect React Server Component Activity with Next.... by te_chris on Thursday January 23, 2025 @09:14AM (#42804214)
Why? lol
Re:How to Inspect React Server Component Activity with Next.... by monocasa on Thursday January 23, 2025 @09:41AM (#42804473)
So that the page is already rendered upon the initial contact from the server, decreasing page load latency.
Re:How to Inspect React Server Component Activity with Next.... by meiraleal on Thursday January 23, 2025 @02:03PM (#42806930)
That is greatly compensated by the low quality of the generated code. Vercel's landing page for example takes 12 seconds and 1.4mb of files to load just a bunch of text.