Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix `jsxDEV` for generated elements #12017
The new JSX transform does not support generated JSX in development mode, it errors with the following:
This is caused by the
This PR mimics the old behavior and omits the
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 94720de:
JLHwung left a comment
I am hesitate on throwing an error when
The plugin currently throws an error when
This PR fixes the transform's compatibility with other plugins!
Correct! This PR changes the plugin to not throw an error when source information is missing. You might be referring to the invariant that's present for if the plugin itself improperly uses the