© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
J. KrauseDeveloping Web Components with TypeScripthttps://doi.org/10.1007/978-1-4842-6840-7_1

1. Introduction

Jörg Krause1  
(1)
Berlin, Berlin, Germany
 

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 ...

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.