~/talk

Angular, MobX, happiness

Talkat AngularUP 2016 · on Thursday, 2016-11-17· [angular, reactive-programming]
slides:none on file

Demonstrates using MobX with Angular 2 (and Angular 1 plans) to derive view state from a tiny mutable model so only dependent pieces update, not the whole app. Claims MobX gives “Angular 1 digest magic” but far more efficient, shows MobX observable/computed used to derive filtered and selected lists, explains Zones force full change detection so components must use OnPush, and ships an ng2-mobx 64-line connector that hooks MobX into Angular change detection and works in the demo, reducing recalculations to one per relevant change.

AI-written summary · about

  1. 0:00Introduction and use case
  2. 2:36Imperative vs. declarative
  3. 4:35Performance challenges
  4. 6:47Introduction to MobX
  5. 9:33Implementing MobX state
  6. 14:41Connecting MobX to Angular
  7. 17:18Demonstration of reactivity
  8. 20:44Optimizing with OnPush
  9. 23:46Conclusion and comparison
~/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.