-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
List features beyond ES6 supported by create-react-app #1313
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ You can find the most recent version of this guide [here](https://github.com/fac | |
- [npm test](#npm-test) | ||
- [npm run build](#npm-run-build) | ||
- [npm run eject](#npm-run-eject) | ||
- [Supported features beyond ES6](#supported-features-beyond-es6) | ||
- [Syntax Highlighting in the Editor](#syntax-highlighting-in-the-editor) | ||
- [Displaying Lint Output in the Editor](#displaying-lint-output-in-the-editor) | ||
- [Changing the Page `<title>`](#changing-the-page-title) | ||
|
@@ -162,6 +163,14 @@ Instead, it will copy all the configuration files and the transitive dependencie | |
|
||
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. | ||
|
||
## Supported Features Beyond ES6 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe switch to ES2015 (ES6)? |
||
|
||
The following language features beyond ES6 are supported (at the time of writing, stage 2 and 3 proposals): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It might be valuable to include a small comment about why these features are supported ala #636 (comment) |
||
|
||
* [Public class fields](https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-class-properties) ([stage 2](https://tc39.github.io/proposal-class-public-fields/)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we link to babel's website docs instead? http://babeljs.io/docs/plugins/transform-class-properties/ |
||
* [ES2015 parameters](https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-object-rest-spread) ([stage 3](https://babeljs.io/docs/plugins/transform-es2015-parameters/)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure this one needs to be mentioned since (It's currently only being explicitly included in tests until some object rest/spread bugs are fixed) |
||
* [Object rest spread](https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-object-rest-spread) ([stage 3](https://github.com/tc39/ecma262)) | ||
|
||
## Syntax Highlighting in the Editor | ||
|
||
To configure the syntax highlighting in your favorite text editor, head to the [relevant Babel documentation page](https://babeljs.io/docs/editors) and follow the instructions. Some of the most popular editors are covered. | ||
|
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.
Nit: title case?