3 ms·
Lit is not a polyfill, it's an easier way to write Web Components without writing DOM manipulations manually. Building on top of the Web Components standards,
by dchest 3y ago
Lit is not a polyfill, it's an easier way to write Web Components without writing DOM manipulations manually.
Building on top of the Web Components standards, Lit adds just what you need to be happy and productive: reactivity, declarative templates and a handful of thoughtful features to reduce boilerplate and make your job easier.
- paularmstrong 3y agoThis in itself is why web components have had such a hard time actually taking off as a viable platform to build on. You need some other library to handle the things you actually need to accomplish.
- meiraleal 3y agoThat's how open standards work. Create a common ground so every tool built on top of it can be integrated. So Lit integrates with other web components frameworks. Imagine if React, Vue and Angular could be integrated? That's the change that Web Components brings. And currently Lit is a great choice to create components that can be integrated with those frameworks.
- cyanydeez 3y agoVue allows Lit components
- colordrops 3y agoAll of them allow Lit components. Almost all frameworks support them, because they are just standard web components underneath. The only way they wouldn't work is if the framework did something actively stupid to break web components.
- meiraleal 3y agoAka React.