Taste the Future with Functional Web Components
summary
Claims a concrete library that implements a functional API for web components with no classes, property descriptors and factories instead of prototype sugar, and a built‑in cache that tracks dependencies so getters recompute only when inputs change (cache invalidation based on dependencies). Each property can register lifecycle hooks and cleanup (per-property connect/disconnect). The author publishes the library and demos GitHub stars fetching with promises; the live demo partly succeeds (networked fetch and HMR work) though one interactive demo hiccups.
AI-written summary · about
chapters (10)
- 0:00Intro
- 0:34What are Web Components
- 2:14How to create Web Components
- 3:44Can we do it simpler
- 6:26What we can do
- 7:40Default values of arguments
- 12:40Life cycles
- 15:27Life example
- 22:01Key features
- 23:48Demo
related talks
32m"Future-proof your Web Apps with Web Components and Lit"
46mFuture-proof your Web Apps with Web Components and LitElement
20mAvoiding vendor lock-in through Web Components
24mThe Good, The Bad, and The Web Components
53mFuture-proof your Web Apps with Web Components and LitElement
44mWeb Components An Introduction to the Future
51mBuilding web applications with Web Components
36mWeb components - A whirlwind tour thru the future of the web
