~/talk

Algebraic effects, Fibers, Coroutines...Oh my!

Talkat YGLF 2019: Code Camp · 2019-04-03..04-04· [react, javascript]
slides:none on file

React rewrites its runtime as React Fiber — a React‑owned call stack of JavaScript objects that the scheduler manipulates to interrupt and resume work. That enables time slicing and suspense throws promises: Suspense signals by throwing a promise (a “suspender”) and the fiber graph preserves component state so rendering can be paused and resumed with minimal loss. The talk claims algebraic effects inspire these APIs, shows code that throws promises, and explains why it works.

AI-written summary · about

  1. 0:00Start
  2. 2:32React Fiber
  3. 3:34Concurrent Rendering
  4. 4:34Time Slicing
  5. 9:36The Call Stack
  6. 11:51Stack Frames
  7. 14:28FiberNode
  8. 22:33Logging
  9. 24:23Algebraic Effects
  10. 31:07Fibers to the Rescue!
~/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.