async/await is not part of ES7
Summary: I might be a little pedantic here but it is what it is ;-) Closes https://github.com/facebook/react-native/pull/8783 Differential Revision: D3561962 Pulled By: hramos fbshipit-source-id: b44af2c1a2586bb6f8b2460631b8fe208b925c4d
This commit is contained in:
parent
e9f53eee2c
commit
7d2b5714af
|
@ -59,7 +59,7 @@ Networking is an inherently asynchronous operation. Fetch methods will return a
|
|||
}
|
||||
```
|
||||
|
||||
You can also use ES7's `async`/`await` syntax in React Native app:
|
||||
You can also use the proposed ES2017 `async`/`await` syntax in a React Native app:
|
||||
|
||||
```js
|
||||
async getMoviesFromApi() {
|
||||
|
|
Loading…
Reference in New Issue