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

So just run javascript before your components render so you don't have to run javascript before your components render.



If you find a way to deliver a website without running any code, let me know!


I just think SSR is kind of missing it because web components allow a static frontend bundle to have a power that was previously reserved for SSR or HTML-only apps.

Moving the render off the client is nice, but removing the prerender altogether is something much cooler.


If you have a static frontend bundle, isn't that just SSG (static site generation)? And if you can generate the site at build time, what's the fundamental difference between any of the non-web component SSG solutions and a web component SSG solution? Sure, you can pretend like there will be "no build step". But only if you're fine with "no proper cache headers" (and a long tail of other things). So in practice - hopefully there _will_ be a build step anyhow.


Have a HTML page that you just send. It’s really simples.


Send like in the mail on a USB stick?


You don't think code editors use code?


Websites with ads should take notice of this.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: