Skip to content

Conversation

@RyanCavanaugh
Copy link
Member

No description provided.

@mhegazy
Copy link
Contributor

mhegazy commented Jan 21, 2016

We should add a unit test with --allowJs and some JSX syntax in there, and make sure no errors are reported.

@mhegazy
Copy link
Contributor

mhegazy commented Jan 21, 2016

👍

@DanielRosenwasser
Copy link
Member

Why exactly are we doing this?

@billti
Copy link
Member

billti commented Jan 21, 2016

@DanielRosenwasser Because ReactNative uses JSX directly in .js files, so this is becoming popular. VSCode has asked for this. As JSX is a superset, there is no ambiguity with plain JavaScript.

@billti
Copy link
Member

billti commented Jan 21, 2016

Need to update the tests also. As expected, some errors changed now that parsing default has changed (though only 2, and the errors look like an improvement - good job! :-) ).

Once done- 👍

Copy link
Member

Choose a reason for hiding this comment

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

Double quotes.

RyanCavanaugh added a commit that referenced this pull request Jan 26, 2016
@RyanCavanaugh RyanCavanaugh merged commit 6febe3b into microsoft:master Jan 26, 2016
@RyanCavanaugh RyanCavanaugh deleted the jsIsJsx branch January 26, 2016 00:15
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants