~/talk

From .component() to @Component

Talkat Angular Camp 2016 · 2016-07-01..07-03· [angular]
slides:none on file

Shows concrete migrations from Angular 1.5 .component() to Angular 2 @Component using ES6 classes, live demos that work, and a small chat example with stateless/stateful/rooted components. Demonstrates one-way data flow replacing two-way binding, lifecycle hooks onInit/onChanges with cloning via Object.assign/angular.copy and a polyfill that backports .component to 1.3–1.5. Implements callbacks with & and Angular 2 EventEmitter, measures a 1–2 minute refactor path and shows the child → parent event roundtrip reliably firing on submit.

AI-written summary · about

  1. 0:00Start
  2. 21:30DIRECTIVES: WHAT NOT TO USE
  3. 29:22STATEFUL COMPONENT
  4. 31:56PROPERTY BINDING
  5. 35:14STATELESS COMPONENT
  6. 38:22ROUTED COMPONENTS
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.