2min chapter

Syntax - Tasty Web Development Treats cover image

What are Headless Components?

Syntax - Tasty Web Development Treats

CHAPTER

Headless Components in Smelt World

You know what this reminds me of is in smelt world, we have actions, which allow you to just essentially attach a lifecycle methods to a DOM element. What are some examples of an action? For instance, let's say I have an action to do anchors right now, or here's a here's a good one, like click on outside. Yeah. So the use click on outside is some that's not a JavaScript thing. That's a piece of JavaScript that has been written and included in this felt library. And spelt says, all right, well,  here's a function that does all the heavy lifting for you. All you have to do is slap this

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