Dan Tech Academy
After this lesson you will
  • Keep the reducer pure by returning typed effect descriptions
  • Carry out each effect in a narrow adapter with one collaborator
Duration12 min
DifficultyIntermediate

Keep Side Effects Outside The Reducer

Keep navigation, analytics, API calls and snackbars outside pure transitions.

What this lesson covers
  1. 01Lesson Goal
  2. 02Part 1: An Effect In DRE Is A Task Description
  3. 03Part 2: Read The handleBackToMenu Function
  4. 04Part 3: When To Use An Effect, When To Use An Async Op?
  5. 05Code Reading Path
  6. 06Bad Smells
  7. 07Key Takeaways

Topics: mobile-action-pro, mvvm-state-machine

7 sections left in this lessonUnlock all of Mobile Action ProLesson Goal, Part 1: An Effect In DRE Is A Task Description, … — plus 114 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