I cannot figure out how render these images.
I have been having this issue all morning. Once I finished getting my apps search functionality working, and was returning a name data, I decided to start working on returning the images received when looking up an artist.
Right now I have a basically set to map out the url of the images, pass it to a dumb component, and set an image elements' src ref to the url string itself through props.
However when I go to search, I get the name of the band but not the images. I can't figure out why. Right now I have the issue where map can't be used on something that isn't defined, so I put a basic check to bypass that, and I think that's the issue.
TL;DR pulling api data, can render name of band, but can't map out images of band. The images are an array of 4 objects.
Posted Feb 21, 2016, 9:43 PM UTC