Check out a free preview of the full Vuex for Intermediate Vue 2 Developers course:
The "Moving to State & Actions Exercise" Lesson is part of the full, Vuex for Intermediate Vue 2 Developers course featured in this preview video. Here's what you'd learn in this lesson:

Students are instructed to move the state out of a UI component in Vue into a Vuex Store using the dispense method, along with using actions and mutations.

Get Unlimited Access Now

Transcript from the "Moving to State & Actions Exercise" Lesson

[00:00:00]
>> We'll work on our first exercise for today. Which is taking the dispense method that I showed you, and then using state and actions and mutations in a vuex store