Is there a bug in the trivial example? I can't seem to follow how it's referencing one template and another in the function. But I am not a JS dev so perhaps I am just missing something.
It is pretty much feature complete already, there are only so many fundamental operations and DOM attributes. besides, I would like to keep it around 2kb ;)