Posted On: Feb 22, 2021
Virtual DOM? You have probably heard about the term "virtual DOM", which Vue's rendering system is based upon. The virtual DOM (VDOM) is a programming concept where an ideal, or “virtual”, representation of a UI is kept in memory and synced with the “real” DOM. The concept was pioneered by React, and has been adapted in many other frameworks with different implementations, including Vue. Virtual DOM is more of a pattern than a specific technology, so there is no one canonical implementation. We can illustrate the idea using a simple example: js const vnode = { type: 'div', props: { id: 'hello' }, children: [ /* more vnodes */ ] } Here, vnode is a plain JavaScript object (a "virtual node") representing a
Never Miss an Articles from us.
Vue js is progressive javascript script used to create dynamic user interfaces.Vue js is very easy to learn.In order to..
Vue js comes with following features Templates Reactivity Components Transitions Routing ..
The Life cycle of each Vue instance goes through a series of initialization steps when it is created. – for example, ..