A
A
ArtJH2021-04-05 09:49:19
Vue.js
ArtJH, 2021-04-05 09:49:19

When should you use mounted in simple terms?

Read to dock, did not understand when exactly it is necessary to use it.
Also what is "mounted" in this article :
created - the component instance is created
mounted - the component instance is mounted( How to understand mounted? )
updated - the virtual DOM has been updated due to a data change
destroyed - the component instance has been destroyed

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2021-04-05
@ArtJH

Included in the DOM tree

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question