Check out a free preview of the full Vuex for Intermediate Vue 2 Developers course

The "Vuex Helpers 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 refactor code explored in a previous section to use helpers by using mapState and mapActions.

Preview
Close

Transcript from the "Vuex Helpers Exercise" Lesson

[00:00:00]
>> So, for the next exercise, what we'll work on is, we will update everything so that we use helpers. So instead of using this .dollastore.statement, this .dollastore.actions, I mean dispatch. We're gonna be using map state and map actions.

Learn Straight from the Experts Who Shape the Modern Web

  • In-depth Courses
  • Industry Leading Experts
  • Learning Paths
  • Live Interactive Workshops
Get Unlimited Access Now