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
Copy file name to clipboardExpand all lines: react-native-scripts/template/README.md
-19Lines changed: 0 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,6 @@ Below you'll find information about performing common tasks. The most recent ver
14
14
*[Writing and Running Tests](#writing-and-running-tests)
15
15
*[Environment Variables](#environment-variables)
16
16
*[Configuring Packager IP Address](#configuring-packager-ip-address)
17
-
*[Adding Flow](#adding-flow)
18
17
*[Customizing App Display Name and Icon](#customizing-app-display-name-and-icon)
19
18
*[Sharing and Deployment](#sharing-and-deployment)
20
19
*[Publishing to Expo's React Native Community](#publishing-to-expos-react-native-community)
@@ -124,24 +123,6 @@ npm start
124
123
125
124
The above example would cause the development server to listen on `exp://my-custom-ip-address-or-hostname:19000`.
126
125
127
-
## Adding Flow
128
-
129
-
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.
130
-
131
-
React Native works with [Flow](http://flowtype.org/) out of the box, as long as your Flow version matches the one used in the version of React Native.
132
-
133
-
To add a local dependency to the correct Flow version to a Create React Native App project, follow these steps:
134
-
135
-
1. Find the Flow `[version]` at the bottom of the included [.flowconfig](.flowconfig)
136
-
2. Run `npm install --save-dev [email protected]` (or `yarn add --dev [email protected]`), where `x.y.z` is the .flowconfig version number.
137
-
3. Add `"flow": "flow"` to the `scripts` section of your `package.json`.
138
-
4. Add `// @flow` to any files you want to type check (for example, to `App.js`).
139
-
140
-
Now you can run `npm run flow` (or `yarn flow`) to check the files for type errors.
141
-
You can optionally use a [plugin for your IDE or editor](https://flow.org/en/docs/editors/) for a better integrated experience.
142
-
143
-
To learn more about Flow, check out [its documentation](https://flow.org/).
144
-
145
126
## Sharing and Deployment
146
127
147
128
Create React Native App does a lot of work to make app setup and development simple and straightforward, but it's very difficult to do the same for deploying to Apple's App Store or Google's Play Store without relying on a hosted service.
0 commit comments