I'm personally curious how the Next is able to achieve the claim of "zero client-side JavaScript" mentioned here[1] using react server components? It just doesn't seem to make sense to me, and the HN clone example and my barebones test project also clearly still load about 74.2 KB of JavaScript. Is the claim supposed to mean that the server components won't require additional JS, or maybe that they won't need to execute any client-side JS to be fully rendered?[1]: https://nextjs.org/docs/advanced-features/react-18#react-ser...
krall12|4 years ago
It’s very similar to what Astro is doing. Only adding the JS if it’s actually necessary.
robertrbairdii|4 years ago
https://github.com/vercel/next-rsc-demo/tree/main/components
leerob|4 years ago
leotaku|4 years ago
I would also like to make it understood that I'm not here to bash the Next project, I am simply interested in the technology.
[1]: https://github.com/josephsavona/rfcs/blob/server-components/...
agrunyan|4 years ago
e12e|4 years ago
k__|4 years ago