tl;dr:“In this post I’ll walk through the full implementation of a Virtual DOM in a bit over 200 lines of JavaScript. The result is a full-featured and sufficiently performant virtual DOM library. The main goal is to illustrate the fundamental technique behind tools like React.”