News for hackers. Stuff that matters.
Re:Etsy Moves from React to Preact by i_hate_pigeons on Saturday February 05, 2022 @02:55AM (#30218850)
I imagine the client facing pages are very sensitive to seo/crawling so that's why they go for server side rendering
Re:Etsy Moves from React to Preact by capableweb on Saturday February 05, 2022 @04:46AM (#30219533)
I think it's more about the level of interactivity that is "needed". The seller part of the platform would do a lot of customization and changing settings, some of those probably have live previews as well, whereas the seller part of the platform is pretty static, no need for the same level of interactivity, so doing it by manually manipulating the DOM is manageable.
Re:Etsy Moves from React to Preact by bsaul on Saturday February 05, 2022 @05:38AM (#30219847)
server side rendering also points you toward more cacheable content. Things you put on a CDN are faster and way cheaper.
Re:Etsy Moves from React to Preact by elyobo on Saturday February 05, 2022 @03:34AM (#30219071)
In theory it shouldn't matter but you can SSR with React if that's important.
Re:Etsy Moves from React to Preact by youngtaff on Saturday February 05, 2022 @06:25AM (#30220094)
Problem is SSR with a JS framework is often slower than the other equivalents, not sure why but I see it time and again

Then the hydrations costs on the client typically start at 500ms, and that's 500ms the main thread could be doing something useful with