Vue computed properties Vue computed properties vue.js vue.js

Vue computed properties


Computed properties are cached based on their reactive dependencies ... Computed Caching vs Methods

Vue.js automatically cache the computed value, as long as their reactive dependencies don't mutate.

Storing it in a variable would be counter-intuitive.