~/talk

The Observer tip-jar

Talkat Wicked Good Ember 2015 · on Wednesday, 2015-06-17· [ember, frontend-architecture]
slides:none on file

Claim: Ember observers cause bugs and hidden work by being observers are eager, producing extra computation, inconsistent intermediate state and surprising cross‑component side effects. Evidence: examples comparing computed properties (lazy, deterministic) to observers (eager, amplifying work), a realtime autosave debouncing failure, a timezone-triggered 15 minute freeze, and D3 integrations where pushing data out is the only legit observer case. Fixes: prefer actions up bindings down, convert observer setters into computed properties, and use scheduleOnce on the render queue or component lifecycle hooks.

AI-written summary · about

  1. 0:00Intro
  2. 1:57fix all the bugs!
  3. 7:01attributes passed to .create are initial state
  4. 8:03lets take a closer look
  5. 10:01huge work amplification potential
  6. 14:47once upon a time...
  7. 15:57bindings down, actions up
  8. 17:27unexpected side effects are unexpected
  9. 22:36the data-binding hammer
  10. 26:15actions UP, bindings DOWN
~/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.