Chapter 10
Web Components
The platform's component model: custom elements and their lifecycle, shadow DOM encapsulation, templates and slots, declarative shadow DOM, and custom elements that join forms.- 010How do custom elements work, including their lifecycle and upgrades?Coremedium
- 020What does shadow DOM encapsulate, and what crosses the boundary?Coremedium
- 030How do
<template>and<slot>work?medium - 040What is declarative shadow DOM, and why does it matter for server rendering?medium
- 050How can a custom element take part in a form?hard