Shorter code is great. Even shorter code is even better. In this post, you’ll learn how to drastically shorten the length of your Vuex mutations, making for some really clean code.
It’s not uncommon to follow the default approach and register global Vue components manually. But there’s a better way. Two of them, in fact. And we can do it for Vuex too, but that’s for another post.
Seriously, it’s overkill, and much of what goes on can be replaced with observable objects.