Do Vue watched properties cache just like the computed properties?
问题 In the Vue docs it is mentioned that computed properties are smartly cached as opposed to using regular methods: In comparison, a method invocation will always run the function whenever a re-render happens. Why do we need caching? Imagine we have an expensive computed property... My question is : Do watched properties also having caching like computed properties? (including Vuex watching, eg. using vm.$store.watch... ) 回答1: Behaviour of watchers will be same as behaviour of computed as