News for hackers. Stuff that matters.
Re:Streaming HTML out of order without JavaScript by MindSwipe on Friday March 01, 2024 @06:18AM (#39560724)
Seems like browser support is pretty universal, even says so in the article

> All browsers support streaming HTML

And the caniuse is promising: https://caniuse.com/?search=slot

Re:Streaming HTML out of order without JavaScript by csande17 on Friday March 01, 2024 @06:28AM (#39560784)
<slot> has been around for a while in Web Components; the relevant feature here is probably the (much newer) shadowrootmode attribute: https://caniuse.com/?search=shadowrootmode

But you can already do a lot with regular streaming and using CSS Grid, inline <script> tags, etc to move stuff around the page.