Consuming services reliably in Redux without losing your mind
summary
A single redux middleware pipeline replaces the dozens of identical thunks by centralizing start/pending/success/failure dispatches, implements JWT refresh checks, automatic retry logic and debounced polling, and integrates client caching via redux-persist backed by localForage or service workers plus action buffering to avoid race conditions. The concrete middleware and small libraries together reduce duplicated code, handle token expiry and transient network failures, and make retries, caching and sync work reliably across routes.
AI-written summary · about
chapters (9)
- 0:00Intro
- 0:24Redux is awesome
- 1:13Problems with Redux
- 2:36Async with Redux
- 4:03Keeping things simple
- 7:19Automatic retries
- 9:15Why do you want to catch anything
- 11:12Store middleware
- 11:54Redux Action Buffer
related talks
25mPractical Advanced Redux
42mRedux-ing like a Pro
40mPurify Your Redux App
27mThe Redux Journey
33mAdvanced Redux - Design Patterns and Practices
07mPersistence Cycle - A Successful Structure for Isomorphic Apps
44mThe Fundamentals of Redux
28mWriting better multi-process hybrid apps with React and Redux
