W
W
WebNub2017-05-20 17:09:48
JavaScript
WebNub, 2017-05-20 17:09:48

Vue computed in simple terms?

Hello everyone, who can explain in simple terms the difference between computed and methods, and when exactly to use computed, this is my first framework, I read the documentation and do not get it :(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Kulakov, 2017-05-21
@kulakoff Vue.js

Computed is essentially an immediately computed property, i.e. if it depends on some reactive variables (read declared in data) it will be automatically recalculated. Methods - normal component functions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question