[Vuejs]-Vue.js component not updated after vuex action on another component

0👍

Your table is not updated because getBookings is a simple method and hence the method won’t be fired again based on vuex state changes.

You can make this getBookings method as an computed property that returns filtered results and will also upadte on state changes.

Leave a comment