~/talk

Wait, react is multi-threaded?

Talkat React Brussels 2022 · on Friday, 2022-10-14· [react, web-platform]
slides:none on file

Shows that heavy CPU work (sorting 10,000–50,000 items with a bubble sort) moves off the main thread using web workers, so the React UI stays responsive and the spinner keeps animating; profiler shows a 5.71s main-thread task disappears and a separate worker thread does the sorting. Demonstrates wiring with a promise-based helper (Chrome link / use webworker hook), explains why Concurrent mode yields cooperative concurrency while workers give true parallelism across CPU cores within the 16ms frame budget.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:18The importance of UX
  3. 2:46Demonstrating performance issues
  4. 4:48Browser rendering pipeline
  5. 8:16Introducing web workers
  6. 10:37Concurrent mode vs parallelism
  7. 12:35JavaScript threading explained
  8. 14:28Simplifying worker API
  9. 18:09Final demo and profiling
  10. 21:16Use cases and limitations
  11. 24:02Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.