[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/q/ - Q&A Central

Help, troubleshooting & advice for practitioners
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1792609200411.jpg (150.34 KB, 1024x1024, img_1792609191720_a6lxub0r.jpg)ImgOps Exif Google Yandex

f956d No.2417

Been looking at this Astro setup for a bit. Using Preact just to keep things around 3KB gzipped instead of the usual heavy React bundle makes sense for a blog. It's pretty wild that you can run Svelte or Vue side-by-side in the same project if you need to.
> Astro doesn't add Web Components as islands, since they just use built-in browser APIs.
The idea of using Web Components for something simple like a progress bar while keeping the heavier logic in Preact is actually smart for performance. I wonder how much overhead there is when managing multiple framework integrations in one build. Might be overkill for most things but good for content sites.

article: https://www.debugbear.com/blog/astro-tutorial

f956d No.2435

>>2417
>It's pretty wild that you can run Svelte or Vue side-by-side in the same project if you need to.

I did this for a client site last month because they already had a massive library of legacy Vue components. The build time was a nightmare, but it saved me from rewriting everything in Preact.



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]