Answer the question
In order to leave comments, you need to log in
What are JS framework lifecycles for?
The question is in the title. Can't understand what is the practical application of these life cycles?
Well, the page goes through the instantiation stage, well, you changed some text on the page, thereby calling the "updated" hook (in vue, so), what do I care?
Give a practical example, please.
Answer the question
In order to leave comments, you need to log in
So that everyone understands what can / cannot be done at a certain moment and how it works.
So that there are no questions why this.$el does not work in beforeCreate/created.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question