Web Components are a set of W3C standards to make self-contained components: custom HTML-elements with their own properties and methods, encapsulated DOM, and styles. The technology is natively supported by all modern browsers and does not require a framework. The API has some quirks, though. I will explain these obstacles in great detail, but it’s helpful to know that you can make your life easier. A thin wrapper library to handle common tasks is the answer. This is the purpose of the @nyaf (Not Yet Another ...
1. Introduction
Get Developing Web Components with TypeScript: Native Web Development Using Thin Libraries now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.