0 votes
in VueJS by
What is the main difference between method and computed property?

1 Answer

0 votes
by

The main difference between a computed property and a method is that computed properties are cached and invoke/change only when their dependencies change. Whereas a method will evaluate every time it's called.

Related questions

0 votes
asked Sep 9, 2023 in VueJS by DavidAnderson
0 votes
asked Sep 15, 2023 in VueJS by JackTerrance
...