~/talk

Redux + ServiceWorker = Offline React

Talkat React Rally 2017 · 2017-08-24..08-25· [react]
slides:none on file

Claim: a readable offline React app is achievable by combining Service Workers, an app shell, and a tiny Redux middleware. Uses create-react-app serviceworker precache or workbox, runtime caching for images, and persist entire Redux store (debounced into localStorage) so reloads render immediately offline. Demo shows app shell cached and served plus runtime-cached assets and images, middleware implemented in a few lines, and the result actually renders previously viewed content without network access.

AI-written summary · about

  1. 0:00Intro
  2. 1:05ServiceWorker
  3. 3:19What is a ServiceWorker
  4. 3:55Runtime Caching
  5. 6:12FET Strategies
  6. 7:20Registering ServiceWorker
  7. 7:59Precache
  8. 10:07App Shell
  9. 12:21Create React App
  10. 14:29Redux Overview
  11. 15:44Middleware
  12. 16:51Bootstrap
  13. 17:31Demo
  14. 20:44Outro
~/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.