4min chapter

Syntax - Tasty Web Development Treats cover image

Supper Club × Web Components and Lit with Justin Fagnani of Google

Syntax - Tasty Web Development Treats

CHAPTER

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

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode