News for hackers. Stuff that matters.
Re:Streaming HTML out of order without JavaScript by gtroja on Friday March 01, 2024 @06:51AM (#39560886)
>without Javascript

>piece of Javascript code that makes it happen

c'mon guys

Re:Streaming HTML out of order without JavaScript by ghusbands on Friday March 01, 2024 @07:12AM (#39561019)
The Javascript code in the article is server-side and not essential - it's just one way to take advantage of open shadowrootnodes and it could be written in PHP or anything else. It's showing how you can output your HTML in a very different order, with arbitrary delays, and still get the page layout you expect.
Re:Streaming HTML out of order without JavaScript by gtroja on Friday March 01, 2024 @11:46AM (#39563583)
Javascript is being used to stream the HTML. the title is "Streaming HTML out of order without JavaScript"
Re:Streaming HTML out of order without JavaScript by gtroja on Friday March 01, 2024 @01:09PM (#39564733)
if only it was "Consuming streamed HTML out of order without JavaScript"...
Re:Streaming HTML out of order without JavaScript by iolo on Friday March 01, 2024 @07:06AM (#39560979)
> It's worth noting though that there's no dependency on a JavaScript backend - the same thing can be achieved on PHP, Java, Go, etc.

The only Javascript in the article is on the server side to handle the HTTP.

Re:Streaming HTML out of order without JavaScript by gtroja on Friday March 01, 2024 @11:46AM (#39563576)
Javascript is being used to stream the HTML. the title is "Streaming HTML out of order without JavaScript"
Re:Streaming HTML out of order without JavaScript by boxed on Friday March 01, 2024 @06:54AM (#39560912)
What are you talking about?