Hacker News new | ask | show | jobs
by terandle 618 days ago
I would say react server components are fundamentally different.

PHP starts off powered by the state on server (database etc) and ends there when it hits the client unless you hand it off to a completely different language/system: JavaScript.

It would be really nice if you could instead keep writing PHP-for-the-client which would let you reuse your templates/PHP code/etc but keep all the state on the client so you can instantly do things without round trips to the server.

That's what RSCs are and they are pretty great IMO.