问题描述
我需要帮助,我想从https://www.wired.com/category/security/获得最后5条帖子,并做出与本机的反应,但是我不知道我该怎么做,任何人都可以帮助我,这对我来说非常重要。我想在平板电脑上显示我的屏幕,但我不知道该怎么做。
fetch(requestURL)
.then((response) => response.json())
.then((data) => {
this.setState({
data: data
});
})
.catch((error) => console.log(error))
.done();
解决方法
希望这篇文章对您有帮助
https://www.google.com/amp/s/aboutreact.com/react-native-http-networking/amp/ 关于如何使用访存。