~/talk

From component to @component

Talkat Angular Connect 2016 · 2016-09-27..09-28· [angular]
slides:none on file

A working chat demo shows how to move an Angular 1.5 codebase toward Angular 2 by converting controller components into ES6 classes, replacing two‑way binding with one‑way data flow, cloning inputs with Object.assign clone to avoid mutating parent state, and wiring updates upward via event emitter vs $emit patterns. Lifecycle parity is demonstrated: ngOnChanges maps to $onChanges, inputs become bindings, and a full Angular 1 → Angular 2 component conversion is claimed to take about ten minutes on the example.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:27Goal of migrating to components
  3. 2:39One-way data flow in Angular
  4. 5:00Stateful vs stateless components
  5. 8:25Data flow with inputs and outputs
  6. 11:31Pure function components
  7. 12:36Lifecycle hooks for state
  8. 14:51Immutable state management
  9. 16:43Angular 1.5 component demo
  10. 18:42Code comparison Angular 2 vs 1
  11. 20:37Summary and Q&A
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.