To better understand your mistake, add a catch case to your fetch request.
Also, if you use arrow functions, you do not need to bind (this);
fetch(feedURL, {"mode": "no-cors"}) .then(response => response.json()) .then(data => { this.setState({ data: data }); }) .catch(resp => { console.error(resp); });
nAv
source share