A look at the guts of Polymer 2.0
summary
Shows that Polymer 2.0 is mostly thin sugar over vanilla web components: a PolymerElement subclass that auto‑stamps a template (the polymer taco), wires attribute⇄property sync, and emits property-changed events for two‑way binding. Covers array mutation helpers, ES6 setters caveats, and that Polymer 3.0 switches to ES modules and template strings or lit-html. Notes size (~10–13KB gzipped plus polyfills), relies on Shadow DOM/custom elements shipping in browsers, and replaces HTML imports because other browsers drop support.
AI-written summary · about
chapters (11)
- 0:00Introduction and welcome
- 2:11Why Polymer exists
- 5:03Vanilla web components basics
- 9:13Writing a basic web component
- 14:30Pain points in vanilla web components
- 15:55What Polymer is
- 19:06Polymer’s approach
- 25:47ES6 setters and arrays
- 28:59Custom events in Polymer
- 31:26Polymer 2.0 vs 3.0
- 36:49Q&A and closing








