Open codethief opened 3 years ago
2. everything's type-safe and one could do introspection on those HTMLElements?
I'm also curious about this
This package aims to generate html strings. Probably looking for https://github.com/alex-kinokon/jsx-dom#readme
Forgive my ignorance but why does the example from the README
yield a string? Wouldn't it make more sense for
helloWorld
to be of typeHTMLElement
, so that1) it can be easily appended to existing DOM elements? 2) everything's type-safe and one could do introspection on those HTMLElements?