AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Benefits of Using a Library for Web Components
I think there's a big debate in JavaScript land about whether dependencies are like good or evil. The answer is always it depends, right? Like good dependencies are good and bad Dependencies are bad. I think that a library that helps you make a web component is just a dependency. It should be small. This is what we try to do with with lit. And I don't think it defeats the purpose because the idea with web components is that the implementation is encapsulated. So as the user of the web component, you shouldn't care what it was implemented with. You know, you might care that what it was implementing with is fast and small, right? But whether or not it