8 ms·
#1 unnecessary network waterfalls #2 downloading the same fields multiple times #3 downloading unneeded data/code Checks out
by rbalicki 9mo ago
#1 unnecessary network waterfalls
#2 downloading the same fields multiple times
#3 downloading unneeded data/code
Checks out
- switz 9mo agoHilariously – react server components largely solves all three of these problems, but developers don't seem to want to understand how or why, or seem to suggest that they don't solve any real problems.
- presentation 9mo agoI agree though worth noting that data loader patterns in most pre-RSC react meta frameworks + other frameworks also solve for most of these problems without the complexity of RSC. But RSC has many benefits beyond simplifying and optimizing data fetching that it’s too bad HN commenters hate it (and anything frontend related whatsoever) so much.
- andrewingram 9mo agoIt’s no secret that RSC was at least partially an attempt to get close to what Relay offers but without requiring you adopt GraphQL.
- rbalicki 9mo agoThere's an informed critique of RSC, but no one is making it.