Redux Deep Dive
summary
Four concrete problems—typos, brittle action types, duplicated type maintenance, and monolithic reducers that block code splitting—drive a practical proposal: replace string-typed actions with dispatch reducer functions and add a small enhancer/middleware layer that preserves a type key for redux-devtools and supports thunk-style async work. The patch integrates with Flow/TypeScript, webpack tree shaking, and middleware like thunk and sentry, enabling tree-shaking reducers and to maintain types once while shrinking route-specific bundles.
AI-written summary · about
chapters (6)
- 0:00Start
- 4:10Enhancers
- 12:05Types
- 15:23Tree Shaking
- 16:36Route Specific Code Splitting Reducers
- 19:52Dispatch your reducer








