Skip to content

Conversation

@chenglou
Copy link
Contributor

Lots of people tripped over it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add:

This tells JSX to process the file for React. If you don't include the pragma your source will remain untouched, so it's safe to run the JSX transformer on all JS files in your codebase if you want to.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

petehunt added a commit that referenced this pull request Dec 29, 2013
docs add warning to add jsx pragma
@petehunt petehunt merged commit 918c513 into facebook:master Dec 29, 2013
@chenglou chenglou deleted the doc-pragma branch December 29, 2013 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants