Skip to content

Comment on How did I get here?

Comments

"You may have noticed that the traceroute progressively loads in lines above the bottom line. Web pages can only load forward. Since I didn’t want to use any JavaScript, I did the hackiest thing possible: every time I update the traceroute display, I embed a CSS block that hides the previous iteration! Since browsers render CSS as the page is loading, this made it look like the traceroute was being edited over time."

Love this

You can also do out-of-order HTML streaming without JavaScript using declarative shadow DOM. For example:

https://lamplightdev.com/blog/2024/01/10/streaming-html-out-...

oh yeah i saw this! newer than the website though :)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.