Understanding components From creation -> function -> The destruction Three stages of
understand vue A process in the life cycle
Life cycle (Life Cycle) Refers to the creation of a component from -》 function -》 The whole stage of destruction , The emphasis is on a time period .
By vue Built in functions provided by the framework , It will be accompanied by the life cycle of components , Automatically execute in order .
Be careful : Life cycle emphasizes time period , The life cycle function emphasizes the point in time
You can refer to vue Official documents give “ Lifecycle diagram ”, Further understand the process of component life cycle execution ： ( Sidebar ->vue example -> Lifecycle diagram )
vue Official website jump connection
本文为[Peach_ In vain]所创，转载请带上原文链接，感谢