4 ms·
WebComponents Proposal: Add lit-HTML to the browser
- dtagames 2y agoYes, please! Bare metal web components with Lit are fantastic. If we add Lit itself to the browser, it's even closer to metal.
- aitchnyu 2y agoThis is supposed to work with "light" dom right? Will it update fast like a vdom framework?
- meiraleal 2y agoYes 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.
- marziply 2y agoJust 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.
- meiraleal 2y agoThat'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.
- DrScientist 2y agoYou 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.
- icy 2y agoHey, completely unrelated, but you replied to my post re: YC's fall batch and partnering up (https://news.ycombinator.com/item?id=41178593 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