I'll check that out. At the moment I'm just building up a bunch of template code which I'll re-use. But might check out solid.js.