~/talk

Redux: Architecting and scaling a new web app at The NY Times

Talkat Strange Loop 2017 · 2017-09-28..09-30· [react, frontend-architecture]
links:none on file
slides:none on file

NYT Watching uses Redux to manage complex relationships and hits more than a million users per month within a year. The codebase keeps views pure via containers that separate data from JSX, computes merged objects with selectors that memoize derived data to reduce recomputation, and implements side effects—URL sync, query params, onboarding and analytics—via middleware rather than views. Server-side rendering, a single source of truth, and reducers-as-pure-functions enable fast pivots and stable deployments, and the system proves the approach at scale.

AI-written summary · about

  1. 0:00Intro
  2. 3:31Search
  3. 5:10Dealing with Data
  4. 6:14Agenda
  5. 9:15Pure Functions
  6. 12:07Redux: Three Principles
  7. 14:26Initial State
  8. 17:52Actions: Definitions
  9. 18:33Actions / Action Creators
  10. 19:28Reducers Example
  11. 20:02Reducers: Login
  12. 21:02Fetching Streaming Info
  13. 23:07Action Creator (Async)
  14. 24:15Cards and Carousels
  15. 25:29Growing Pains
  16. 26:58Using Multiple Containers
  17. 28:51Derived Data
  18. 29:44Merging Data
  19. 30:56Selectors: Save Status
  20. 31:38Selectors: Streaming Info
  21. 32:49Business Logic
  22. 34:55Window size
  23. 35:51Impure Top Component
  24. 37:08Guided Discovery
  25. 38:07Middleware Skeleton
  26. 38:38Onboarding
  27. 39:04Analytics
~/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.