I
I
IronPants2018-09-19 01:58:21
Vue.js
IronPants, 2018-09-19 01:58:21

What is the difference between watch and computed in Vue.js?

Hello!
Please explain the difference between watch and computed in vue.js ... As far as I understand, both of them rely on dependencies, but watched does not return anything, why is it needed then. Computed is cached but watch is not? Is that all the difference? Thanks in advance.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question