Dan Tech Academy
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.

What this lesson covers
  1. 01Lesson Goal
  2. 02Part 1: In DRE, an Effect Is the Spec of One Task
  3. 03Part 2: Read handleBackToMenu
  4. 04Part 3: When an Effect, When an Async Op?
  5. 05Code Reading Path
  6. 06Bad Smells
  7. 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
Sign in