Post

To conclude my exploration of @astro.build SSR with Cloudflare Workers: 🤯 This is a post in a static content collection. The file is mdx. It imports a very simple Astro component and mounts it with server:defer (Server Island). Component queries D1 SQL with 2 lines... fubits.dev/notes/how-to...

Ilja@fubits.dev

Ok I figured out a thing and I can’t believe that it works… Server-side DB fetch in a @astro.build Server Island with 0 JS & no Svelte. Rendered in a prerendered mdx blogpost in a Astro content collection. import News from „@components/News.astro“; <News server:defer /> fubits.dev/notes/how-to...

0 reposts5 likes

One obsession („motivation“) for the last 4-5 years has been to figure out the easiest way to - couple a (mostly) static website with islands of dynamic data - make the data editable from a phone - without data updates requiring a redeployment This is the closest I’ve ever been to my goal. I’m 😱