logoalt Hacker News

halflifeyesterday at 8:00 PM1 replyview on HN

Maybe if they compiled away their runtime like svelte and somewhat like angular, then running SSR would be faster.


Replies

cluckindanyesterday at 9:47 PM

SSR with CSR is a worst-of-both-worlds approach. It leads to brittle ”isomorphic” behaviors when the same code needs to handle both SSR and CSR, inevitable client-side ”hydration” mismatches and various other issues. The same code needs to fetch eagerly but minimally, but also use and update the server-provided data on the client-side.

Ultimately that so-called ”isomorphism” causes more numerous and difficult problems than it solves.

show 2 replies