After this lesson you will
- Keep the reducer pure by returning typed effect descriptions
- Perform each effect in a narrow adapter with one collaborator
Duration12 min
DifficultyIntermediate
Keep Side Effects Outside Reducers
Keep navigation, analytics, API calls, and snackbars out of pure transitions.
- 01Lesson Goal
- 02Part 1: In DRE, an Effect Is the Spec of One Task
- 03Part 2: Read handleBackToMenu
- 04Part 3: When an Effect, When an Async Op?
- 05Code Reading Path
- 06Bad Smells
- 07Key Takeaway
Topics: mobile-action-pro, mvvm-state-machine
7 sections left in this lessonUnlock all of Mobile Action ProLesson Goal, Part 1: In DRE, an Effect Is the Spec of One Task, … — plus 64 lessons in this course, source code and checklists.
Unlock Mobile Action ProOne-time payment — lifetime access — 7-day money-back. Already purchased? Sign in