You don't want to keep too much data in your state. It can be especially dangerous to keep duplicate or derivative data because it can be brought out of sync very easily. Getters help you with this without shifting the burden onto the components by keeping all the logic in one place.
Building getters to help retrieve your data
Getting ready
This recipe is for you if you already have some Vuex knowledge and want to expand your horizons.
How to do it...
Imagine that you are building a Bitcoin wallet. You want to give your users an overview of their balance, and you want them to see how many Euros it corresponds...