Skip to content

Commit 8fb4f6f

Browse files
reduxjs/redux#2004 List features beyond ES6 supported by create-react-app
1 parent 7d66ba1 commit 8fb4f6f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: packages/react-scripts/template/README.md

+9
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ You can find the most recent version of this guide [here](https://github.com/fac
1313
- [npm test](#npm-test)
1414
- [npm run build](#npm-run-build)
1515
- [npm run eject](#npm-run-eject)
16+
- [Supported features beyond ES6](#supported-features-beyond-es6)
1617
- [Syntax Highlighting in the Editor](#syntax-highlighting-in-the-editor)
1718
- [Displaying Lint Output in the Editor](#displaying-lint-output-in-the-editor)
1819
- [Changing the Page `<title>`](#changing-the-page-title)
@@ -162,6 +163,14 @@ Instead, it will copy all the configuration files and the transitive dependencie
162163

163164
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.
164165

166+
## Supported Features Beyond ES6
167+
168+
The following language features beyond ES6 are supported (at the time of writing, stage 2 and 3 proposals):
169+
170+
* [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/))
171+
* [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/))
172+
* [Object rest spread](https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-object-rest-spread) ([stage 3](https://github.com/tc39/ecma262))
173+
165174
## Syntax Highlighting in the Editor
166175

167176
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.

0 commit comments

Comments
 (0)