self-closing-comp
warns on elements with whitespace children.
#730
Labels
self-closing-comp
warns on elements with whitespace children.
#730
<div> </div>
is NOT supposed to be self-closing - the whitespace is reduced to a single space, but it's definitely not zero spaces. Currently the rule recommends that this JSX be self-closed, but that would result in the removal of a space.The text was updated successfully, but these errors were encountered: