Fix typo on line 47 "make" to "makes"
Summary: Thanks for submitting a pull request! Please provide enough information so that others can review your pull request: Fix typo on line 47 "make" to "makes" > **Unless you are a React Native release maintainer and cherry-picking an *existing* commit into a current release, ensure your pull request is targeting the `master` React Native branch.** Explain the **motivation** for making this change. What existing problem does the pull request solve? Prefer **small pull requests**. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it. **Test plan (required)** Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. Make sure tests pass on both Travis and Circle CI. **Code formatting** Look around. Match the style of the rest of the codebase. See also the simple [style guide](https://github.com/facebook/react-native/blob/master/CONTRIBUTI Closes https://github.com/facebook/react-native/pull/10449 Differential Revision: D4039572 Pulled By: hramos fbshipit-source-id: 21ba41365f24f4f615b73051de63dfd5be6b4893
This commit is contained in:
parent
db474d95b4
commit
7fbb46c316
|
@ -44,7 +44,7 @@ Take a look at the [Fetch Request docs](https://developer.mozilla.org/en-US/docs
|
||||||
|
|
||||||
The above examples show how you can make a request. In many cases, you will want to do something with the response.
|
The above examples show how you can make a request. In many cases, you will want to do something with the response.
|
||||||
|
|
||||||
Networking is an inherently asynchronous operation. Fetch methods will return a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) that make it straightforward to write code that works in an asynchronous manner:
|
Networking is an inherently asynchronous operation. Fetch methods will return a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) that makes it straightforward to write code that works in an asynchronous manner:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
function getMoviesFromApiAsync() {
|
function getMoviesFromApiAsync() {
|
||||||
|
|
Loading…
Reference in New Issue