-
Notifications
You must be signed in to change notification settings - Fork 120
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
Add support for CJSX #1009
Labels
Comments
alangpierce
added a commit
to alangpierce/coffee-lex
that referenced
this issue
Mar 11, 2018
Progress toward decaffeinate/decaffeinate#1009 This is hopefully the most difficult part of properly supporting CSX/JSX in decaffeinate. It's necessary for coffee-lex to be CSX-aware so that we can get proper token information within CSX interpolations. BREAKING CHANGE: Some obscure cases were valid expressions before but are now treated as CSX. This should match the equivalent minor breaking change in CS2.
eventualbuddha
pushed a commit
to alangpierce/coffee-lex
that referenced
this issue
Mar 11, 2018
Progress toward decaffeinate/decaffeinate#1009 This is hopefully the most difficult part of properly supporting CSX/JSX in decaffeinate. It's necessary for coffee-lex to be CSX-aware so that we can get proper token information within CSX interpolations. BREAKING CHANGE: Some obscure cases were valid expressions before but are now treated as CSX. This should match the equivalent minor breaking change in CS2.
eventualbuddha
pushed a commit
to alangpierce/coffee-lex
that referenced
this issue
Mar 11, 2018
Progress toward decaffeinate/decaffeinate#1009 This is hopefully the most difficult part of properly supporting CSX/JSX in decaffeinate. It's necessary for coffee-lex to be CSX-aware so that we can get proper token information within CSX interpolations. BREAKING CHANGE: Some obscure cases were valid expressions before but are now treated as CSX. This should match the equivalent minor breaking change in CS2.
alangpierce
added a commit
to alangpierce/coffee-lex
that referenced
this issue
Mar 11, 2018
Progress toward decaffeinate/decaffeinate#1009 This is hopefully the most difficult part of properly supporting CSX/JSX in decaffeinate. It's necessary for coffee-lex to be CSX-aware so that we can get proper token information within CSX interpolations. BREAKING CHANGE: Some obscure cases were valid expressions before but are now treated as CSX. This should match the equivalent minor breaking change in CS2. This change also drops node 4 support.
alangpierce
added a commit
to alangpierce/coffee-lex
that referenced
this issue
Mar 11, 2018
Progress toward decaffeinate/decaffeinate#1009 This is hopefully the most difficult part of properly supporting CSX/JSX in decaffeinate. It's necessary for coffee-lex to be CSX-aware so that we can get proper token information within CSX interpolations. BREAKING CHANGE: Some obscure cases were valid expressions before but are now treated as CSX. This should match the equivalent minor breaking change in CS2. This change also drops node 4 support.
alangpierce
added a commit
to decaffeinate/coffee-lex
that referenced
this issue
Mar 11, 2018
Progress toward decaffeinate/decaffeinate#1009 This is hopefully the most difficult part of properly supporting CSX/JSX in decaffeinate. It's necessary for coffee-lex to be CSX-aware so that we can get proper token information within CSX interpolations. BREAKING CHANGE: Some obscure cases were valid expressions before but are now treated as CSX. This should match the equivalent minor breaking change in CS2. This change also drops node 4 support.
Hey, @alangpierce, |
Seems, there is some wrapper tool: depercolator |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mentioned in #1007 and also in this blog post:
https://blog.bugsnag.com/converting-a-large-react-codebase-from-coffeescript-to-es6/
It would be cool to add native support for CJSX. This means it would be some new AST node types and the JSX would be patched directly to JSX within JavaScript.
This is just a tracking bug, and it would need some further investigation:
The text was updated successfully, but these errors were encountered: