Tagged template literals for html view templating is what I LOVE about Lit and lit-html. It’s JavaScript you can run natively in browser, no server or pre processor/build step necessary.
Downvote me but tell me why. The example is using .onclick, .textContent, etc in a completely vanilla way. I'm just pointing out you can get all the way vanilla and it still works. What's the issue?
Var button = html(’<button>im a button</button>’);
The html() function is trivial, but it just doesn’t feel like real programming to do this, even though there’s nothing else to it in the end.