-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Adds the JSX transformer #7192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds the JSX transformer #7192
Conversation
Am I reading this correctly that there are zero baseline changes? |
@RyanCavanaugh With only these transformations, the emitter isn't far enough along to run the tests and capture baseline changes. Those will come after I submit the last PR containing the module transformer. |
let pos = 0; | ||
while (start < len) { | ||
while (pos < len) { | ||
const value = array[pos]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this temp is needed for readability or efficiency.
👍 |
Adds the Module transformers
Adds the ES6 transformer
Adds the ES7 transformer
The JSX transformer is designed to transform JSX-specific syntax into compatible JavaScript when the
--jsx react
compiler option.Related Pull Requests: