Map Is Not A Function React Native: I called it in the render function using a.map (). Fetch (url).then (response => response.json ()).then (data => data.photos.photo.map ( (x) => {. Web first of all, you have to validate to have data before using the map.
Map Is Not A Function React Native

Web the error map it not a function occurs because axios don’t return an array. Items.map is not a function. Fetch (url).then (response => response.json ()).then (data => data.photos.photo.map ( (x) => {.
Map Is Not A Function React Native: I called it in the render function using a.map (). I'm not too familiar with javascript, so i don't fully understand what's going on. Web i have a component in react native that gets data from mongodb const num = => { console.log(how many times do you see.
