You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wish I didn't have to write the name in closing tags:
<div>
<Foo>
...
</>
</>
To me it's just a waste of time. I know IDEs can help with closing tags but such features always get in the way (for example, automatically inserting a closing tag when I'm typing generic type parameters).
So, how about just encouraging Babel/TS to adopt </> as a valid syntax for closing any open tag?
This may be a difference from XML, but so what; the <></> fragment syntax is already not valid XML AFAIK.
The text was updated successfully, but these errors were encountered:
I wish I didn't have to write the name in closing tags:
To me it's just a waste of time. I know IDEs can help with closing tags but such features always get in the way (for example, automatically inserting a closing tag when I'm typing generic type parameters).
So, how about just encouraging Babel/TS to adopt
</>
as a valid syntax for closing any open tag?This may be a difference from XML, but so what; the
<></>
fragment syntax is already not valid XML AFAIK.The text was updated successfully, but these errors were encountered: