~/talk

React: Internals and Advanced Performance Patterns

Talkat Porto Tech Hub Conference 2025 · on Tuesday, 2025-10-07· [react, web-performance]
slides:none on file

Explains that React fibers are component stack frames and shows a working micro scheduler built with generator+Suspense scheduler that yields every few milliseconds to avoid input jank (the generator demo keeps typing responsive while a 2M-loop runs). Demonstrates using useSyncExternalStore to stop wasted renders, swapping React for Preact to cut a 300KB main bundle roughly in half, using virtualization to render 10 items instead of 10,000, and runtime proxies to count jQuery calls — all practical fixes that proved effective.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:09React's evolution and performance
  3. 16:47Fibers and React internals
  4. 39:27Coroutines and React
  5. 44:25Effect handlers in React
  6. 53:50Browser scheduling and long tasks
  7. 1:23:34React's scheduling strategies
  8. 1:42:35Performance techniques in React
  9. 2:36:32Measuring performance and future trends
  10. 2:48:57Closing remarks and Q&A
~/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.