3 ms·
So here's the kicker: React Server Components don't need a server. They are completely compatible with a static bundle and still provide major benefits should y
by switz 1y ago
So here's the kicker: React Server Components don't need a server. They are completely compatible with a static bundle and still provide major benefits should you choose to adopt them (dead code elimination, build-time execution). This is effectively the design of Astro Islands, natively in React Server Components. Letting you write static and client-side dynamic code in a single paradigm through componentization and composition.
If you are curious, my most recent blog post is all about this concept[0] which I wrote because people seem to be misinformed on what RSCs really are. But that post didn't gain any traction here on HN.
Is it more complex? Sure–but it is also more powerful & flexible. It's just a new paradigm, so people are put off by it.
[0] Server Components Give You Optionality https://saewitz.com/server-components-give-you-optionality https://saewitz.com/server-components-give-you-optionality
- chipsrafferty 1y agoThen they are poorly named.
- switz 1y agoI generally agree. Naming things is among the hardest problems in computer science