In Vuex, mutations are synchronous transactions. But if you want to handle asynchronous operations then you should use actions.