You must select a tag to post in this category. Please find the tag relating to the section of the course you are on
When you ask a question, don’t forget to include a link to the exercise or project you’re dealing with!
If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer!
Building the Jammming app I keep getting this error:
The object assigned to this.state in App.js appears to get passed in to the components SearchResults and Playlists correctly when I check in devtools in chrome. The weird thing is, the error message only appears when, in Playlist.js, I use an instance of the Tracklist component. When I use the Tracklist component in SearchResults.js the webpage loads with no issues.
Presumably ‘cannot read property map of undefined’ means that it doesn’t recognise the props I’m passing down to map, however I checked in the console before and the object appears correctly. I have tried to follow the video walk through but don’t see any error in my code.