Skip to content

virtual dom

Tom Wilson edited this page Jun 9, 2016 · 1 revision

virtual-dom

Is very similar to react, but we will most likely use morphdom to keep things easy, simple and lightweight.

morphdom is a virtual-dom implementation that uses the dom as the virtual dom, so you get the best of both worlds.

https://github.com/patrick-steele-idem/morphdom

Morphdom has a simple method that takes the old node vtree and the new node vtree and patches the new tree on the dom where the old tree exists.

Clone this wiki locally