~/talk

A View into Frameworks

Talkat Uphill Conf 2019 · 2019-05-02..05-03· [frontend-architecture]
slides:none on file

Worked on five different frameworks in three years while building Netflix studio UIs and then reverse-engineers what actually makes views work: templates plus a trigger plus a comparison strategy. Examples include setState for manual triggers, Zone.js monkey-patching async for Angular, and property tracking like Glimmer’s tracked fields. Comparison strategies compare virtual trees (virtual DOM) or stream-generated nodes against the real DOM (incremental DOM/Ivy), trading memory for diff speed and vice versa.

AI-written summary · about

  1. 0:00Intro
  2. 0:34A View into Frameworks
  3. 2:01What's the problem?
  4. 2:51Common Patterns
  5. 4:55Difficulties of the DOM API
  6. 6:51DOM manipulation is expensive
  7. 7:03The browser has constraints
  8. 7:25VA DOM Node has a cost
  9. 9:15Staying in sync with the DOM
  10. 9:41How can we update a list?
  11. 9:57Recreate the list
  12. 10:35Update what is needed
  13. 11:39Templates
  14. 14:03How does a template turn into DOM?
  15. 20:17Performant DOM Updates
  16. 21:19Comparison Strategy
~/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.