7 comments

[ 0.78 ms ] story [ 27.8 ms ] thread
Yes, please!

Bare metal web components with Lit are fantastic. If we add Lit itself to the browser, it's even closer to metal.

This is supposed to work with "light" dom right? Will it update fast like a vdom framework?
Yes it would work with both, but for the light dom it doesn't have <slot/>.

Imho lit-html is fast enough to make any vdom implementation unnecessary.

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