Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Instead of making yet another file, why not just upstream optimizations into react?


A big chunk of this is in the compiler, which extracts the “template” of your components into its own component. That would break a lot of projects if it was somehow able to be upstreamed into react.

It’s neat, but I don’t hit performance bottlenecks in the front end anymore.


>It’s neat, but I don’t hit performance bottlenecks in the front end anymore.

Because you don't test on anything else than your high-end development PC ?


No, I just don't do much heavy computing on the front end anymore in 2023. Server-side rendering for components (Astro, Remix, et. al) really makes the front end just a place for animations and models again. If your animations and models are slowing to a crawl on your client's machine, then it really isn't so bad to get rid of the fancy stuff. Your routing, rendering, and business logic probably shouldn't be in the FE IMO.


> Server-side rendering for components (Astro, Remix, et. al)

Curious about your experience with Astro and Remix. Also could I ask why you didn't go with Next.js since that seems like the Hot New Thing these days especially when it comes to SSR (haven't tried it myself though)?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: