[Vuejs]-What is the difference between Vuex subscribe and getter?

4👍

computed() is Vue internal, and is updated when any ref being called inside of it is updated.

subscribe() is Vuex specific and will be called whenever any mutation was called.

Leave a comment