News for hackers. Stuff that matters.
Re:Astro is a return to the fundamentals of the web by rustc on Wednesday July 09, 2025 @07:39AM (#44508759)
> islands work until they don't

Like when?

Re:Astro is a return to the fundamentals of the web by kh_hk on Wednesday July 09, 2025 @09:08AM (#44509599)
Setting `client:load` and `client:visible` for (svelte) islands you want to run on the client ends up inlining script type modules all around the html. It looked like a big hack to me.

On the positive side their use of web components is a nice bet.

Re:Astro is a return to the fundamentals of the web by rustc on Wednesday July 09, 2025 @10:09AM (#44510251)
And does it break something? I was replying to "islands work until they don't".
Re:Astro is a return to the fundamentals of the web by kh_hk on Wednesday July 09, 2025 @10:39AM (#44510586)
It breaks the third wall.
Re:Astro is a return to the fundamentals of the web by dannye on Thursday July 10, 2025 @02:56AM (#44518098)
>> On the positive side their use of web components is a nice bet.

Web Components are a JavaScript/ECMAscript standard.

So this is like saying: _Their use of Arrays is a nice bet_

Re:Astro is a return to the fundamentals of the web by kh_hk on Friday July 11, 2025 @05:32PM (#44536966)
Well I don't see other frameworks besides lit advocating for web components
Re:Astro is a return to the fundamentals of the web by mceachen on Wednesday July 09, 2025 @12:09PM (#44511755)
Not the op, but I’d guess islands become a PITA when there is user-visible state that must be synchronized and rendered coherently across multiple islands.