384813 results for ""a""

  • ulhar4409[d]: Oh, and the other thing Astro does is it has a thing called "Islands" where everything is static HTML without any reactivity or hydration or anything but you can write a component in almost any major UI framework (I like Svelte, you can also use React or Preact or Vue or a bunch of other things) and then import it and Astro will only hydrate that component, so you don't have to choose to either use a frontend
    autumnlilybug at 2025-12-22 05:30
  • It's what Remix wants to be, with its Partial Prerendering stuff. I used to like Remix a lot but then I tried Astro, realized how much I had been fighting with Remix to get it to work exactly the way I wanted, and switched immediately.
    autumnlilybug at 2025-12-22 05:27
  • But it does put it in a weird spot relative to pure SSGs like Hugo and pure SSR frameworks like Next.js (next.js SSG mode is cursed do not use it)
    autumnlilybug at 2025-12-22 05:26
  • ~~so it's a genderfluid site generator~~
    ulhar4409 at 2025-12-22 05:25
  • I really like Astro because of all of this, it feels like a pure SSG but if you need SSR you can opt-in to it for just the parts that actually need it
    autumnlilybug at 2025-12-22 05:24
  • So, for my site, everything is 100% static except for my webmentions API endpoint (fully dynamic) and the comments at the bottom of each post (there is a static placeholder with a static JS snippet that is used to stream the real dynamic content from the server after the page loads and then replaces the placeholder - Astro calls it Server Islands)
    autumnlilybug at 2025-12-22 05:22
  • It is until it isn't. Basically it's an SSG except you can set it up with an "adapter" (node, CF workers, etc.) and then you can say "this page is rendered at runtime rather than build time" (among other things) and it will statically generate everything it can and then generate a JS "server bundle" that can handle the runtime stuff
    autumnlilybug at 2025-12-22 05:20
  • hmmm, at first i assumed astro was a static site generator, oop
    ulhar4409 at 2025-12-22 05:19
  • 1. I write the code on my computer (ofc) 2. I commit that code to the repo and push it to GitHub 3. Cloudflare sees a new commit and creates an ephemeral workspace to run the CD script 4. Cloudflare installs dependencies in the workspace, runs the build command, and then runs the deploy command (which uploads the build bundle to the Worker as a new deployment) 5. Cloudflare reports success or failure to GitHub, and simultan
    autumnlilybug at 2025-12-22 05:18
  • ulhar4409[d]: A Cloudflare worker running my built astro bundle
    autumnlilybug at 2025-12-22 05:15
Sort by:

Filter results by:

Tag

Query took 0.01s.


Search tips

Exclusion
+foo -bar
Logical OR
foo OR bar
Exact phrase
"foo bar"
Partial words
foo*
Particular fields only
title:foo
domain:example.org
nick:somebody
after:2016-11-23
before:2016-11-23
date:2016-11-23