~/talk

A Cartoon Intro to React Fiber

Talkat Front-Trends 2017 · 2017-05-24..05-26· [react, javascript]
slides:none on file

Explains that Fiber replaces React’s old reconciler with a new JavaScript fiber object and workLoop that breaks rendering into interruptible reconcile phase and an uninterruptible commit phase, uses double buffering and an effect list, and assigns updates explicit priority levels (synchronous, task, animation, high/low/offscreen). Uses requestIdleCallback and requestAnimationFrame to schedule work so quick UI updates (typing/animation) jump ahead of expensive tree-wide updates. Mentions a Mozilla parallelization case that drops render time from 130 ms to 30 ms.

AI-written summary · about

  1. 0:00Start
  2. 0:49Example of a React App
  3. 1:21What Does Fiber Do
  4. 1:33Fiber Is the New Reconciliation Algorithm for React
  5. 1:47Virtual Dom
  6. 3:12Fiber Reconciler
  7. 6:24Main Thread
  8. 7:16How the Existing Reconciler Works
  9. 10:14Host Root
  10. 13:03The Reconcile Phase
  11. 14:18Request Idle Callback
  12. 14:55Work-in-Progress Tree
  13. 16:31Lists
  14. 22:26Phase Two
  15. 28:22Cooperative Scheduling
  16. 30:14Closing
~/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.