I've tried to write an API which would only accept objects which render to standalone dom.Elements, yet none of the JsDom tags conformed to expected Frag[dom.Element, dom.Element] type. This seems to be fixed by the proposed change. Further simplifications may be possible, as +FragT in generic.TypedTag becomes pretty obsolete then. I didn't push too far though and settled for a more compatible change for now.
I've tried to write an API which would only accept objects which render to standalone
dom.Element
s, yet none of theJsDom
tags conformed to expectedFrag[dom.Element, dom.Element]
type. This seems to be fixed by the proposed change. Further simplifications may be possible, as+FragT
ingeneric.TypedTag
becomes pretty obsolete then. I didn't push too far though and settled for a more compatible change for now.