Off The Main Thread cover image

Are web components worth it?

Off The Main Thread

00:00

Design Choices in the Custom Elements API

This chapter delves into the various design choices made in the custom elements API, including attribute change callback and the revealing constructor pattern. It also covers the differences between synchronous and micro task bound methods, the concept of Shadow DOM for creating hidden DOM within the regular DOM, and the history of development culminating in the comparison between custom elements v0 and v1. The discussion extends to the differences between web components and higher-level components like React, exploring performance aspects, development experiences, and features like unmounting, mounting, hooks, scoped CSS, and limitations in forms.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app