Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 31,688 posts.

Any topic
Any year
11668

Introducing Custom Elements

A little over a year ago, we announced the introduction of slot-based shadow DOM API, a lightweight mechanism to encapsulate a DOM tree by allowing the creation of a parallel DOM tree on an element called a “shadow tree” that replaces the rendering of the element without modifying the regular DOM tree.