Vuex store mutation methods do not provide direct access to getters . * It is best practice to keep mutations a simple as possible, only directly affecting the Vuex state. This makes it easier to reason about state changes without having to think about any side effects.
How do you access getters in mutations Vuex?
Vuex store mutation methods do not provide direct access to getters . * It is best practice to keep mutations a simple as possible, only directly affecting the Vuex state. This makes it easier to reason about state changes without having to think about any side effects.