~/talk

Immutability is for UI, You, and I

Talkat EmberConf 2016 · on Wednesday, 2016-03-30· [ember]

Argues that treating component state as a stream of discrete frames — an immutable model for UI — removes timing bugs and makes debugging, logging, undo/redo and refactoring far simpler. Demonstrates moving from Ember.Object observers to replace whole model on every change, using plain old JavaScript objects and getters, and integrating ideas from omniscient/ohm and Glimmer. Shows a general-purpose form library, pagination and reactive XHR helpers implemented this way and reports that they work and simplify reasoning about state.

AI-written summary · about

  1. 0:00My history with backbone
  2. 1:44Problems with complexity
  3. 3:02Switching to ember
  4. 4:28Facing ember limitations
  5. 5:52Discovering immutability
  6. 7:45The form library challenge
  7. 10:42Debugging complex state
  8. 12:24Seeking new approaches
  9. 13:21The MVC architecture
  10. 14:28Adopting the movie pattern
  11. 15:55Immutable frame architecture
  12. 17:21Applying movie to ember
  13. 18:22Two steps to immutability
  14. 20:27Simplifying the runtime
  15. 21:51Using javascript getters
  16. 23:24Tracking state changes
  17. 24:48Preserving information
  18. 25:45Implementing undo-redo
  19. 26:48Conclusion and gratitude
~/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.