Just to be clear, this proposal has absolutely nothing to do with Lit. The proposal is strictly regarding templating HTML DOM with JavaScript strings. Similar to how Lit renders, which is why the title mentions it.
That's right! Lit is bigger than lit-html and has a much bigger scope but adding something like lit-html directly to web components would make them much more useful out-of-the-box.
You can view the lit project ( and the forerunner polymer ) almost as a prototyping of ideas that could be added to the browser.
Trying stuff out, really battle testing it, and then taking the simplest essense as a proposal for standardisation, and getting others feedback seems to be a good approach to me.
Hey, completely unrelated, but you replied to my post re: YC's fall batch and partnering up (https://news.ycombinator.com/item?id=41178593). If you're still interested, I'd love to chat! You can write to me at anirudh@oppiliappan.com
7 comments
[ 0.78 ms ] story [ 27.8 ms ] threadBare metal web components with Lit are fantastic. If we add Lit itself to the browser, it's even closer to metal.
Imho lit-html is fast enough to make any vdom implementation unnecessary.
Trying stuff out, really battle testing it, and then taking the simplest essense as a proposal for standardisation, and getting others feedback seems to be a good approach to me.