Closed sigma-andex closed 2 years ago
@mjrussell can you have a look at this?
Thanks for the ping, sorry this has lagged a bit. I think the overall proposal is good and it looks like a nice improvement. Definitely 👍 on a different module.
Does this have any changes when moving to React 18? I was hoping to try to get #44 in first and then merge this
Does this have any changes when moving to React 18? I was hoping to try to get #44 in first and then merge this
As far as I can tell this PR is pretty much independent from #44
This adds a simplified version of the dom elements (insipired by how
elmish-html
does it) to make it less boilerplatey to work with simple html elements. I added them in a separate module to avoid backwards-compatibility issues. Basically, this change allows you to write elements like this: