4min chapter

Elm Town cover image

Elm Town 60 – Productivity and the culture of moving a little bit slower

Elm Town

CHAPTER

How to Use Web Components in Elm

Elm uses a very tiny subset of DOM APIs like I think it's about 10 or 12 maybe DOM specific. They're really just you can write your own DOM and then hey JavaScript if it compiles to it Elm compiles theJavaScript at that point. It works for all them nearly identically as far as I'm able to tell. The general idea is that anything can be a DOM so we don't have to rely on one model over another.

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