Performing correlation function execution order and Sons hook component of the hook function vue

After hooking function execution order and Sons components shown above, mmm is printed following subassembly which monitor watch with a change in print data

Each vue example are the first to perform these functions above, after monitoring the implementation of callback function watch,

figure above functions created parent element is an asynchronous function (asynchronous internal functions) but does not affect the function execution order created.

Before the first printing for the asynchronous function, the second asynchronous function after printing,

When js code execution, execution single-threaded execution order, when faced with an asynchronous function, you skip asynchronous function continues with synchronization function, synchronization function will be executed after the implementation of the callback function,

Its purpose is not to affect the implementation of synchronous functions,

 

Guess you like

Origin www.cnblogs.com/song-zmin/p/11105869.html