-
Notifications
You must be signed in to change notification settings - Fork 49.3k
Add a JSX Compiler tool. #23
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
Conversation
eval(this.getDesugaredCode()); | ||
if (this.props.renderCode) { | ||
React.renderComponent( | ||
React.DOM.pre(null, this.getDesugaredCode()), |
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.
any reason for not using <pre>?
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.
No, I don't know what I was thinking. Thanks!
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.
You've been reading Twitter too much :P
👍 |
I link to this tool from the JSX Syntax documentation.