Holayn / knowledge

A place to collect notes on my learning / knowledge
0 stars 0 forks source link

Vue #5

Open Holayn opened 4 years ago

Holayn commented 4 years ago

My take on its selling points:

Holayn commented 4 years ago

Internals

Good read: link

Vue app consists of components, where each has:

Compilation Phase

Creating a render function that creates a VNode, which is used by Virtual DOM patch process to create actual DOM elements. Note: if using build step, this is done there (i.e. using single file components)

Observers/Watchers

Patch process

Lifecycle hooks