Is Vuex commit async?

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  Does Vuex store persist?

Leave a Reply

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