All the major front-end frameworks that developers use today have something in common. They all use components as basic blocks for building the UI. In Chapter 2, you saw how to create a component registry based on pure functions. On (almost) all modern browsers, it’s possible to create components for your web applications with a suite of native APIs known as web components.
The APIs
HTML templates. The <template> tag is useful if you want to keep content ...