After this lesson you will
- Wire the ViewModel as a composition boundary instead of turning it into a second reducer
- Feed async results back into the state machine by dispatching result actions from executeAsyncOp
Duration12 min
DifficultyIntermediate
Wire the ViewModel With the DRE Store
Understand the ViewModel's role in the DRE architecture pattern.
- 01Lesson Goal
- 02Part 1: What Role Does the ViewModel Play in DRE?
- 03Part 2: How DRE Handles Submit Answer
- 04Part 3: executeAsyncOp Feeds Results Back as Actions
- 05Part 4: Derive Render State, Keep One-Time Events Separate
- 06Code Reading Path
- 07Bad Smells
- 08Key Takeaway
Topics: mobile-action-pro, mvvm-state-machine
8 sections left in this lessonUnlock all of Mobile Action ProLesson Goal, Part 1: What Role Does the ViewModel Play in DRE?, … — 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