Challenge: Vuex Mapping Helpers
Practice what we've learned about vuex mapping helpers.
We'll cover the following
Problem statement
Mapping helpers are a useful way to map necessary properties from the Vuex store to components because they make it easy to determine what Vuex properties a component relies on. Your task is to add mapping helpers where appropriate.
Challenge
Your project displays a list of to-dos on the home page. Your task is to modify the App.vue
component to replace any code that accesses Vuex through this.$store
with mapping helpers like mapGetters
, mapActions
, and mapMutations
.
Get hands-on with 1400+ tech skills courses.