Why should I use getters in Vuex?

Here are a few things that are great about getters: They are easily accessible inside both components and Vuex actions ; They cache data and smartly update themselves when the state changes; They can return functions, so that it’s possible to pass additional arguments to calculate data based on them.

Sizin İçin Seçtik  Vue instance nedir?

Leave a Reply

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