| CARVIEW |
Select Language
HTTP/2 301
server: GitHub.com
content-type: text/html
location: https://thomaswilburn.github.io/wc-book/
x-github-request-id: 3722:38CBC1:1ACA70:1FAB91:696C866C
accept-ranges: bytes
age: 0
date: Sun, 18 Jan 2026 07:06:20 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210036-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1768719981.623166,VS0,VE220
vary: Accept-Encoding
x-fastly-request-id: c027277946f0b370d93172cc2f4d9d6658005322
content-length: 162
HTTP/2 200
server: GitHub.com
content-type: text/html; charset=utf-8
last-modified: Thu, 03 Mar 2022 18:05:38 GMT
access-control-allow-origin: *
etag: W/"62210372-1296"
expires: Sun, 18 Jan 2026 07:16:20 GMT
cache-control: max-age=600
content-encoding: gzip
x-proxy-cache: MISS
x-github-request-id: 102E:F9B68:1ADDC0:1FC147:696C866C
accept-ranges: bytes
age: 0
date: Sun, 18 Jan 2026 07:06:21 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210036-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1768719981.857629,VS0,VE219
vary: Accept-Encoding
x-fastly-request-id: e7457df6ac67ecd67416b4b1eda72e95eefdf1a9
content-length: 1288
Web Components At Work
Web Components At Work
A guide to building effective and maintainable web components
Table of Contents
- Introduction
-
Custom element fundamentals
-
Defining your element
Subclassing HTMLElement for fun and profit
-
The custom element lifecycle
Connecting, disconnecting, and reacting
-
Effective attributes
Configuration and communication
-
Using a base class
Eliminating element boilerplate
-
Defining your element
-
Structuring components
-
Behavioral components
Encapsulated events and manual markup
-
Shadow DOM
Who knows what lurks in the depths of the DOM?
-
Slots
Bringing shadow DOM back to the light
-
CSS and Theming
Variables, selectors, and hosts
-
Behavioral components
-
Platform design patterns
-
Inputs and outputs
Attributes, properties, events, and methods
-
Component microformats
DOM-specific languages
-
Visibility and observation
Out of sight, out of mind
-
Frameworks and integration
DOM-specific languages
-
Association and control
"for" the win
-
Inputs and outputs
- Case studies