Trying to think through an API design question. C...
# kweb
i
Trying to think through an API design question. Currently there is a createElement() extension function on Element which creates a child element with given tag, attributes etc. There are then a bunch of extensions on Element for different tag types like h1(), p(), etc, all of which call createElement().