Re:Astro DB
by eyelidlessness on Tuesday March 12, 2024 @03:40PM
(#39683986)
This is probably the main reason I wouldn’t choose Astro for personal projects where it’s otherwise a great fit. I think it would have been a more reasonable thing earlier on in product conception, but quite a lot of assumptions are now baked into their own custom template language. Which I’m sure is quite a nice template language, but it’s already hard enough to get all the tools to work nicely together without adding another one.
[ Parent
| on HN ]
Yeah, I started poking at Vite to see how much work it would take to build an island-architecture-for-preact tool on top of it. It looks doable.
Out of curiosity, when you're building a mostly static site that might want occasional islands of interactivity, what do you reach for instead?
Re:Astro DB
by bensmithett on Tuesday March 12, 2024 @04:30PM
(#39684538)
> mostly static site that might want occasional islands of interactivity
is exactly what I made this for https://github.com/bensmithett/tropical-utils/tree/main/pack...
It’s a little more verbose and doesn’t quite have the ergonomics of Astro client:* directives, but it does the trick for me.
Re:Astro DB
by biggestlou on Tuesday March 12, 2024 @05:00PM
(#39684895)