Use virtual-dom for questions related to an object model which mimics the structure of and intercepts events normally handled by the real document object model (DOM).
The virtual-dom applies of the technique of double buffering to the DOM. It is used for many purposes, including:
- security: sandboxing DOM mutation
- performance: minimization of repaints and reflows
- testing: performing static analysis on the rendered tree
References