In Vuex, mutations are the only means through which you can change a store’s state . They’re relatively simple and well-known to all Vuex users. The confusion starts when you throw actions into the mix. When learning Vuex, it can take a while for the difference between actions and mutations to become clear.30 Eyl 2021
Read moreWhat is Vuex action?
In Vuex, actions are functions that call mutations . Actions exist because mutations must be synchronous, whereas actions can be asynchronous.
Read more