~/talk

Reducing app bundle size through async reducers

Talkat React Day Bangalore 2022 · 2022-06-08..06-09· [react, frontend-architecture]
links:none on file
slides:none on file

Proposes lazy-loading Redux reducers per page by shipping a reducer manager that combines default reducers and an add/remove API, plus an addReducer middleware that dispatches page reducers on navigation and forces client-side attachment after SSR. Claims reduce app bundle from about 138 KB gzip to 42 KB gzip, raises code coverage by ~20 percentage points (≈40% → ≈60%), and lowers LCP by ~0.8s; includes handling for reducers-as-functions not serializable from server.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Traditional reducer approach
  3. 3:35Problem with static reducers
  4. 5:00Challenges in lazy loading
  5. 7:04Solution approach overview
  6. 8:08Reducer manager explained
  7. 10:14Middleware and store setup
  8. 12:00Demo of dynamic reducers
  9. 12:41Results and advantages
  10. 13:44Final bundle comparison
~/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.