385045
results for ""a""
-
One thing I built a while back uses Svelte for all of the reactive components except for one, which is an audio player built in React because for some reason Svelte couldn't handle seeking
autumnlilybug
at
2025-12-22 05:31
-
or stretching beyond a comfort zone and learning
[Sophia_wood]
at
2025-12-22 05:30
-
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
Sort by:
Filter results by:
Tag
Query took 0.03s.
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