4 ms·
So just run javascript before your components render so you don't have to run javascript before your components render.
by Spivak 3y ago
So just run javascript before your components render so you don't have to run javascript before your components render.
- madeofpalk 3y agoIf you find a way to deliver a website without running any code, let me know!
- freeone3000 3y agoHave a HTML page that you just send. It’s really simples.
- 1-more 3y agoSend like in the mail on a USB stick?
- robertoandred 3y agoYou don't think code editors use code?
- Spivak 3y agoI 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.
- jkrems 3y agoIf 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.
- jzombie 3y agoWebsites with ads should take notice of this.