最近刚开始学React-Native,按照这个教程做例子http://www.raywenderlich.com/99473/introducing-react-native-building-apps-javascript
对其中的=>不明白是什么意思?是React的语法吗?但是看了React也没找到这个
fetch(query)
.then(response=>response.json())
.then(json=>this._handleResponse(json.response))
.catch(error=>this.setState({
isLoading: false,
message: 'Something bad happended' + error
})
);
谢谢