1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Access State by using Vuex getter functions with TypeScript

    vueVue.js
    ^2.2.6

    Accessing state directly can be ok for some cases, but in others we need another representation of state.

    This lesson will show you how Vuex getters solve that issue and how to type-safe these getters with TypeScript using the @Getter decorator.