-
Notifications
You must be signed in to change notification settings - Fork 469
Better representation of JSX in AST #7283
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
Comments
So, my initial thoughts on this would be:
|
A first step could be to see how a few examples are currently mapped to the AST, and where is the code that deals with the output of this mapping. |
Like @cristianoc says, I would also guess that the type checker won't have to care about JSX given that it's transformed to and type checked as regular function calls. |
We should improve the JSX representation in the AST before implementing JSX preserve mode (#6197).
The text was updated successfully, but these errors were encountered: