by ars · 10y ago · 0 comments
There is rarely a reason to build HTML using createElement, it's only sometimes needed. The majority of the time just write HTML - it's much easier.
> Or you could use a templating library
Or just use the built in <template> tag.
yes, almost by a factor of 4 :D
check out "render" test cases:
https://cdn.rawgit.com/localvoid/dd96890b82f1d1268df34330b14...