You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Class Fields and Static Properties](https://github.com/tc39/proposal-class-public-fields) (part of stage 3 proposal).
221
-
*[JSX](https://facebook.github.io/react/docs/introducing-jsx.html) and [Flow](https://flowtype.org/) syntax.
221
+
*[JSX](https://facebook.github.io/react/docs/introducing-jsx.html) and [Flow](https://flow.org/) syntax.
222
222
223
223
Learn more about [different proposal stages](https://babeljs.io/docs/plugins/#presets-stage-x-experimental-presets-).
224
224
@@ -886,20 +886,20 @@ Here is an example of adding a [customized Bootstrap](https://medium.com/@tacoma
886
886
887
887
Flow is a static type checker that helps you write code with fewer bugs. Check out this [introduction to using static types in JavaScript](https://medium.com/@preethikasireddy/why-use-static-types-in-javascript-part-1-8382da1e0adb) if you are new to this concept.
888
888
889
-
Recent versions of [Flow](http://flowtype.org/) work with Create React App projects out of the box.
889
+
Recent versions of [Flow](https://flow.org/) work with Create React App projects out of the box.
890
890
891
891
To add Flow to a Create React App project, follow these steps:
892
892
893
893
1. Run `npm install --save flow-bin` (or `yarn add flow-bin`).
894
894
2. Add `"flow": "flow"` to the `scripts` section of your `package.json`.
895
-
3. Run `npm run flow init` (or `yarn flow init`) to create a [`.flowconfig` file](https://flowtype.org/docs/advanced-configuration.html) in the root directory.
895
+
3. Run `npm run flow init` (or `yarn flow init`) to create a [`.flowconfig` file](https://flow.org/en/docs/config/) in the root directory.
896
896
4. Add `// @flow` to any files you want to type check (for example, to `src/App.js`).
897
897
898
898
Now you can run `npm run flow` (or `yarn flow`) to check the files for type errors.
899
899
You can optionally use an IDE like [Nuclide](https://nuclide.io/docs/languages/flow/) for a better integrated experience.
900
900
In the future we plan to integrate it into Create React App even more closely.
901
901
902
-
To learn more about Flow, check out [its documentation](https://flowtype.org/).
902
+
To learn more about Flow, check out [its documentation](https://flow.org/).
0 commit comments