HIDE PLAYLIST

Access State by using Vuex getter functions with TypeScript


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.