DEV Community

Discussion on: What is the difference between Methods, Computed, and Watchers?

Collapse
 
joestrouth1 profile image
Joe Strouth

Dinos summary is a good one. I would add that methods only run on render (when the component updates) if used in the component template. Other wise they only run when explicitly called (like when bound to an event with v-on:click). Computed is just data that's based on other data; it recalculates whenever the data it's based on changes.