Skip to content

Commit d66216e

Browse files
Eugene KopichTimer
Eugene Kopich
authored andcommitted
docs: flowtype.org -> flow.org (#4881)
1 parent 11580f2 commit d66216e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/react-scripts/template/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ In addition to [ES6](https://github.com/lukehoban/es6features) syntax features,
218218
* [Object Rest/Spread Properties](https://github.com/tc39/proposal-object-rest-spread) (ES2018).
219219
* [Dynamic import()](https://github.com/tc39/proposal-dynamic-import) (stage 3 proposal)
220220
* [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.
222222

223223
Learn more about [different proposal stages](https://babeljs.io/docs/plugins/#presets-stage-x-experimental-presets-).
224224

@@ -886,20 +886,20 @@ Here is an example of adding a [customized Bootstrap](https://medium.com/@tacoma
886886

887887
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.
888888

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

891891
To add Flow to a Create React App project, follow these steps:
892892

893893
1. Run `npm install --save flow-bin` (or `yarn add flow-bin`).
894894
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.
896896
4. Add `// @flow` to any files you want to type check (for example, to `src/App.js`).
897897

898898
Now you can run `npm run flow` (or `yarn flow`) to check the files for type errors.
899899
You can optionally use an IDE like [Nuclide](https://nuclide.io/docs/languages/flow/) for a better integrated experience.
900900
In the future we plan to integrate it into Create React App even more closely.
901901

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/).
903903

904904
## Adding a Router
905905

0 commit comments

Comments
 (0)