【发布时间】:2017-03-30 19:17:26
【问题描述】:
alert(fetch('https://facebook.github.io/react-native/movies.json')
.then(function(response) {
return response.json()['description']
}))
我期待Your app fetched this from a remote endpoint!,但显然这只是一个对象?
根据我检查过的其他答案,例如this one,这应该可以完美运行。
【问题讨论】: