What is the use of getters in Vuex?

Vuex allows us to define “getters” in the store. You can think of them as computed properties for stores . Like computed properties, a getter’s result is cached based on its dependencies, and will only re-evaluate when some of its dependencies have changed.

Sizin İçin Seçtik  Dershane Öğretmeni ne kadar kazanır?

Leave a Reply

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