November 2017
Beginner to intermediate
398 pages
8h 42m
English
Vue uses a virtual DOM implementation that consists of a tree of elements with JavaScript objects. It then applies the virtual DOM to the real browser DOM by computing the differences between the two. This helps avoid DOM operations as much as possible since they are usually the main performance bottleneck.
A render function returns a small part of that tree, that is specific to its component. It uses the createElement method, which is passed as the first argument.
Read now
Unlock full access