Skip to content

Commit 820a648

Browse files
dschepbondz
authored andcommitted
Document Flow support (facebook#1384)
* Document Flow support Projects created by Create React App use the `babel-preset-react` which includes Flow babel plugins which introduces new syntax. This is important for users to know as it causes what used to be syntax errors to be silently suppressed because they're valid type annotations in Flow. For example if a user accidentally has `[foo: 'bar']`, Babel will silently convert it to `[foo]`. * Make it a bit clearer
1 parent 9d2eac5 commit 820a648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Please refer to the [User Guide](https://github.com/facebookincubator/create-rea
144144

145145
**If you’re getting started** with React, use `create-react-app` to automate the build of your app. There is no configuration file, and `react-scripts` is the only extra build dependency in your `package.json`. Your environment will have everything you need to build a modern React app:
146146

147-
* React, JSX, and ES6 support.
147+
* React, JSX, ES6, and Flow syntax support.
148148
* Language extras beyond ES6 like the object spread operator.
149149
* A dev server that lints for common errors.
150150
* Import CSS and image files directly from JavaScript.

0 commit comments

Comments
 (0)