Vue.js question detail
How do you perform asynchronous operations?
In Vuex, mutations are synchronous transactions. But if you want to handle asynchronous operations then you should use actions.
Vue.js question detail
In Vuex, mutations are synchronous transactions. But if you want to handle asynchronous operations then you should use actions.