Structuring Your App’s Story With Sagas and Selectors
summary
Argues that business logic must be decoupled and shows concrete patterns: use selectors and reselect to compute derived data (avoid duplicating state), keep conditional logic in reducers for pure, testable decisions, and use redux-saga generators for complex async flows like token reauth, onboarding steps, and game state. Demos include a small detective app, a Web Audio onboarding, a React Native vaccination app, a client-management app and a werewolf game where sagas successfully centralize process flow.
AI-written summary · about
chapters (14)
- 0:00Start
- 3:32- Data Flow
- 6:50Data Manipulation
- 8:23Reducers
- 11:28Reselect
- 12:31Conditional Business Logic
- 13:34Conditional Add To Cart
- 14:34Principles of Redux
- 16:18Redux
- 18:17Redux Observable
- 22:21Data Manipulation Business Logic
- 22:54Web Audio Api
- 26:29Werewolf
- 31:36How To Learn React
related talks
29mStructure Your App's Story With Sagas and Selectors
10mStructure Your App's Story With Sagas and Selectors
45mRedux and Redux-saga to manage states in a large React app
30mMake React State-Management great again
41mRedux Saga, the Viking way to manage side effects
45mState Management with Redux and Redux-saga
54mThe Saga of yield: Hidden Capabilities
21mLet's Sync the Async- A Primer on Redux Sagas
