What is the difference between actions and mutations Vuex?

Mutations are intended to receive input only via their payload and to not produce side effects elsewhere. While actions get a full context to work with, mutations only have the state and the payload .

Sizin İçin Seçtik  Is Vuex commit async?

Leave a Reply

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