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
This is a consequence of how loose/dumb the parser is. I'm currently experimenting with a new implementation which would tighten up to the CJSX grammar a bit, in a way that would make detecting invalid tags much simpler.
No timeline on the new parser as yet. The current compiler could be made to fail if something which looks like a tag was detected in a CJSX 'text node', which isn't a very clean solution from a parsing perspective, but would probably catch most cases.
outputs:
rather than throwing an error that
<b>
is unclosed. The JSX transformer throws an error:The text was updated successfully, but these errors were encountered: