An Attempted Taxonomy of Web Components—zachleat.com

January 22, 2024

As my experience with web components grows, my personal view of how to build a web component is also evolving. In some cases I’ve gone back and refactored older components with the new knowledge and experience I’ve gained. In other cases, these older components sit as evidence of the learning path I traveled.

For the record, I mean zero-dependency web components that do not use an upstream library—they inherit directly from HTMLElement or similar platform classes.I thought it might be useful to catalog my journey of these open source web components as breadcrumbs for others.

Source: An Attempted Taxonomy of Web Components—zachleat.com

Why it’s interesting

Web Components seem to be having a moment, though it feels like we’ve been here before. Zach Leatherman has as much experience as just abut anyone working with them, and shares thoughts he’s learned in that process.