~/lightning

Redux and Web Workers on the Frontend

Lightningat ReactEurope 2016 · on Tuesday, 2016-05-31· [react, web-performance]
slides:none on file

A small library called Redux worker moves reducers into a Web Worker so heavy state computation runs off the main thread and the UI stays near 60 frames per second. Implementation exposes two functions create worker and apply worker, uses webpack to emit a worker bundle, and relies on reducers being pure. Demo runs an n Queens solver in the worker, the UI stops blocking, and the approach demonstrably works.

AI-written summary · about

  1. 0:00Intro
  2. 0:21Constraints
  3. 0:48Demo
  4. 1:37Why is this uncommon
  5. 2:21How does Redux help
~/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.