-
Notifications
You must be signed in to change notification settings - Fork 356
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
Loss of .jsx extension #49
Comments
I welcome thoughts, maybe this should be configurable and therefore an option when running Yeoman....? Related discussions: |
Making it an option is a nice idea! I'm on the side of |
Oh indeed, it looks clear that Facebook is pushing forward the And some code editor plugins are experimenting other ways to detect JSX file. In the end, I'm in favor of keeping
|
|
This brings the app in line a bit more with FB's coding style for React Native apps. See also: react-webpack-generators/generator-react-webpack#49 (comment)
Looks like #38 merged pull request has moved reactSuffix from
.jsx
to.js
, breaking some user build rules or code editor conf based on the extension.Example:
scripts/component/main.js
is still a JSX file but with the.js
extension.Any particular reason for this change? /cc @andrewliebchen
The text was updated successfully, but these errors were encountered: