When there is a change in Vuex, we need a way to execute this change in asynchronous form and keep track of it so it won't execute over another change before the first change finishes.
For this case, we need the mutations, which are functions that are only responsible for changing the state of your application.
In this recipe, we will learn how to create Vuex mutations and the best practices by which to do it.