Closed broofa closed 1 year ago
Any notation for closing element can be used, as far as it starts with </
, eg. </>
. That particular notation <//>
is HTM@1 legacy.
HTM@1 legacy
Are you referring to this module, htm
version 1 (as opposed to, e.g., the XHTML spec)? So... not a convention anyone is using outside of this module? If so it would be good to note that in the README.
@broofa htm
version 1. I believe the readme mentions this: https://github.com/developit/htm#improvements-over-jsx
[Closing out issues I authored that appear to be stagnant.]
The
<//>
notation mentioned in the README for closing an element is unusual and not well-known (right?) Is this a standard convention? If so, can you add a link to the standard in question so readers can decide if it's a convention worth adopting. If not - if this is a contrivance invented for this module - then it would be worth mentioning that so readers know that using this construct may break if/when they migrate to other JSX/React implementations.Thanks!