3.0.1
https://jsfiddle.net/50wL7mdz/92559/
Attempt to use store.watch with a getter (store.getters.GETTER_HERE) as explained in docs, and shown in reproduction.
Handler to be called when variable updated.
Uncaught Error: [vuex] store.watch only accepts a function.
To see error in reproduction uncomment L18-L21
It actually should be a function but not a real getter. I guess it is written as so because the users have function form getters in Vuex 1.x. We need update the wording to avoid confusion.
Most helpful comment
It actually should be a function but not a real getter. I guess it is written as so because the users have function form getters in Vuex 1.x. We need update the wording to avoid confusion.