~/talk

Deep Dive on Ember Events

Talkat EmberConf 2018 · on Wednesday, 2018-03-14· [ember, frontend-architecture]
slides:none on file

A concrete rule: DOM listeners always fire first, so Ember's abstractions cannot stop propagation of native handlers. The Ember event dispatcher uses delegated handlers (in practice about ~32 delegated handlers for 10,000 components in a quick benchmark) via jQuery or the DOM API, trading memory for far fewer DOM listeners. Practical gotchas: element-modifier Ember actions do not receive the native event, stopping propagation must use bubbles=false or call stopPropagation on the DOM event, and switching one handler type can silently break a tooltip/tour flow.

AI-written summary · about

  1. 0:00Start
  2. 4:54Event Propagation
  3. 5:54Ember Event Listeners
  4. 7:34DOM Event Listeners
~/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.