What is Vuex mutation?

In Vuex, mutations are synchronous transactions: store . commit(‘increment’) // any state change that the “increment” mutation may cause // should be done at this moment. To handle asynchronous operations, let’s introduce Actions.

Sizin İçin Seçtik  How do I get Vuex getters?

Leave a Reply

Your email address will not be published. Required fields are marked *