What is the main difference between watch and subscribe and when I should use one over another? From Vuex official documentation, it seems both methods are doing the same thing and serving the same purpose, both methods have access to the state object.
I am now having a state like below:
item: (state: any) => state.item
I also have an action to commit a mutation to change the value of item, now I would like to know the new value of item in some other component, which one I should use? watch or subscribe?