From 9c527bbf6e0deba1cb53162977c5b24cd8e0094a Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Sun, 12 Feb 2017 19:48:41 +0000 Subject: [PATCH 1/2] Tweak syntax doc --- packages/react-scripts/template/README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index 3848f8fb94e..fb2c7d67c4a 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -175,12 +175,14 @@ You don’t have to ever use `eject`. The curated feature set is suitable for sm ## Supported Language Features and Polyfills -This project supports a superset of the latest JavaScript standard, which includes async and await. -In addition to ES2017, it also supports: +This project supports a superset of the latest JavaScript standard. +In addition to [ES6](https://leanpub.com/understandinges6/read) syntax features, it also supports: -* [JSX](https://facebook.github.io/react/docs/introducing-jsx.html) and [Flow](https://flowtype.org/) syntax. -* [Class Fields and Static Properties](https://github.com/tc39/proposal-class-public-fields) (stage 2 proposal). +* [Exponentiation Operator](https://github.com/rwaldron/exponentiation-operator) (ES2016). +* [Async/await](https://github.com/tc39/ecmascript-asyncawait) (ES2017). * [Object Rest/Spread Properties](https://github.com/sebmarkbage/ecmascript-rest-spread) (stage 3 proposal). +* [Class Fields and Static Properties](https://github.com/tc39/proposal-class-public-fields) (stage 2 proposal). +* [JSX](https://facebook.github.io/react/docs/introducing-jsx.html) and [Flow](https://flowtype.org/) syntax. Learn more about [different proposal stages](https://babeljs.io/docs/plugins/#presets-stage-x-experimental-presets-). From a84c7468d3a6262d04fbd0c59e45d911d8847b4c Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Sun, 12 Feb 2017 20:17:15 +0000 Subject: [PATCH 2/2] Shorter version --- packages/react-scripts/template/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index fb2c7d67c4a..34628cce75c 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -176,7 +176,7 @@ You don’t have to ever use `eject`. The curated feature set is suitable for sm ## Supported Language Features and Polyfills This project supports a superset of the latest JavaScript standard. -In addition to [ES6](https://leanpub.com/understandinges6/read) syntax features, it also supports: +In addition to [ES6](https://github.com/lukehoban/es6features) syntax features, it also supports: * [Exponentiation Operator](https://github.com/rwaldron/exponentiation-operator) (ES2016). * [Async/await](https://github.com/tc39/ecmascript-asyncawait) (ES2017).