Vue.js 3 Options API Masterclass
Plans from $25/month

This lesson is for members. Join us?

Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!

Creating Dynamic Vuex Getters with Higher Order Functions

In this lesson, we'll use "Dynamic Getters" to get our thread from the state along with some extra meta information that can be computed based on the thread properties stored in our data.

"Dynamic Getters" allow us to pass an argument to a Vuex getter by returning a function from the getter.