~/talk

React.js Reconciliation

Talkat Philly ETE 2016 · on Monday, 2016-04-11· [react]
links:none on file
slides:none on file

Explains exactly how React maps application state to DOM by rendering a lightweight virtual DOM, diffing trees to produce a minimal list of mutations, and applying them without DOM reads to avoid costly reflows. Reconciliation uses heuristics — top‑down subtree traversal, O(n) reconciler and type-based replacement — plus explicit keys represent identity so inputs and other non-readable state survive reuse. Covers batching, virtual-DOM throughput (hundreds of thousands of nodes/sec on a laptop) and plans for incremental yielding and layout-aware optimizations.

AI-written summary · about

  1. 0:00Introduction
  2. 0:19React
  3. 1:06Overview
  4. 1:42Components
  5. 2:30React Components
  6. 3:46Example Component
  7. 5:39Example Code
  8. 6:35Adding One More State
  9. 7:17Complexity
  10. 7:32State Transitions
  11. 8:04Mutation
  12. 8:34Sequences
  13. 9:43Virtual DOM
  14. 10:58Shadow DOM
  15. 15:05Reconciliation
  16. 16:47Levels
  17. 18:07Component Types
  18. 19:54Reconciliation Example
  19. 25:20Optimizations
  20. 28:09Questions
  21. 33:45Why is that expensive
  22. 34:44Code complexity and browser performance
  23. 37:41Why not use Reactjs
  24. 39:38Does Reactjs read from the DOM
  25. 41:23How much code is shared between Reactjs and React Native
  26. 43:53Virtual DOM after reconciliation
  27. 45:45Disadvantages of using Virtual DOM
  28. 46:57Managing complexity
  29. 48:49Upcoming technologies
~/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.