React Native Deck Swiper
问题 I am trying to make a GET request to an enpoint using the two functional components below to display in my react native deck swipper //using fetch const getDataUsingFetch = () => { fetch(latestNews+ApiKey) .then((response) => response.json()) .then((responseJson) => { // set the state of the output here console.log(responseJson); setLatestNews(responseJson); }) .catch((error) => { console.error(error); }); } //using anxios //asynchronous get request call to fetech latest news const