This is a Implementation of the Virtual DOM used in every browser. You can run the code from dist folder.