~/talk

Tyler Clark - React to Web Workers

Talkat React Loop 2019 · on Friday, 2019-06-21· [react, web-platform]
slides:none on file

Shows concrete results and code: Google search case study cuts served JavaScript by 50% less JavaScript downloaded when using service workers, Workbox is the recommended tool, and Create React App toggles service worker by changing unregister to register. Demonstrates a service worker broadcasting messages to keep state in sync across tabs and caching HTML/assets so the app works offline. Demonstrates moving Fibonacci(45) into a web worker so Fibonacci(45) freezes UI / worker keeps UI responsive. Notes: web workers often require CRA eject or a plugin and service workers need careful lifecycle handling.

AI-written summary · about

  1. 0:00Start
  2. 8:04Service Worker
  3. 9:16Cache Api
  4. 10:10Code To Get a Serviceworker up and Running
  5. 13:45Fallback Response
  6. 20:27Final Notes on the Service Workers
  7. 20:52Web Workers
  8. 25:07Notes on Web Workers
  9. 26:47Tips and Tricks
  10. 27:05Dev Tools
~/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.