~/talk

A Cartoon Guide to Performance in React

Talkat Nordic.js 2016 · 2016-09-08..09-09· [react, frontend-architecture]
slides:none on file

Walks through stepping the virtual DOM and builds simple examples that show concrete effects: virtual DOM minimizes DOM writes by batching to reduce reflows, a list-reverse demo shows that using keys prevents React from doing N unnecessary updates, a square-button demo shows diffing updates only changed items, and a shouldComponentUpdate plus immutable-state pattern proves fast cheap equality checks can short-circuit large subtree renders. A redux/connect-lower recipe reduces sibling work but trades extra listeners; the cartoons and demos make the techniques reproducible.

AI-written summary · about

  1. 0:00Start
  2. 2:56How the Browser Builds Your Web Page
  3. 3:43Main Thread
  4. 4:48Render Tree
  5. 8:16Part 2 How Reactant Minimizes Work Using the Virtual Dom
  6. 8:35Initial Render
  7. 9:27React Element
  8. 13:58Dom Elements
  9. 19:01Using Keys Can Help Performance
  10. 19:26Set State Process
  11. 22:14How Can You Avoid Wasting Time
  12. 25:01Mutable Data
~/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.