1// dom
2- With the HTML DOM, JavaScript can access
3and change all the elements of an HTML document.
4- The DOM represents the document as nodes and objects; that way,
5programming languages can interact with the page.
6
7
8
9// virtual dom
10- The virtual DOM (VDOM) is a programming concept where an
11ideal, or “virtual”, representation of a UI is kept in memory
12and synced with the “real” DOM by a library such as ReactDOM.
13This process is called reconciliation.