This is Google’s ripoff clone remarkably similar implementation to hyperHTML.

This is Google’s ripoff clone remarkably similar implementation to hyperHTML. It’s a lightweight templating system based on es6 which doesn’t use a virtual dom. If you didn’t completely get hyperHTML, try reading the readme doc here. It explains the concept of both systems very well. Of the two libraries, hyperHTML is much more solid and mature.

Andrea Giammarchi talks about hyperHTML on the Web Platform Podcast.

Andrea Giammarchi talks about hyperHTML on the Web Platform Podcast.

It might take a while for it to sink in what he’s talking about here but basically he’s saying that a simple use of standard JavaScript can match and outperform virtual dom based frameworks such as React and Vuejs. His hyperHtml library is only 4K and works in all browsers going back to IE 9.

It’s notable that Google has just announced their own experimental system (lit-Html) which copies seems to match the hyperHTML pattern closely. The difference is that it’s no where near production-ready while Giammarchi’s is.