Earlier quoted context omitted.
> HTML represents a tree and string interpolation is the wrong tool to generate a tree description. Yet 30 years later it feels like string interpolation is the most common tool. It probably isn't, but still surprisingly common.
The thing is, the browser needs the tree, but the server doesn't really need the whole tree. Building the tree on the server is usually wasted work. Not a lot of tree oriented output as you make it libraries.
> Not a lot of tree oriented output as you make it libraries.
That was actually the point of my library, although I must admit, I haven't implemented actually streaming the HTML output out, before having composed the whole tree. It isn't actually that complicated, what I would need to implement would be to make part of the tree immutable, so that the HTML for it can already be generated.