Jamming Project Step 34

Hi,

I am stuck in the Jammming project - my screen just goes blank when I add the map method to the Tracklist Component.

It works when I just put in the array directly but not when I use this.props.tracks

Hi, did you manage to solve this?

Same problem here. I noticed it’s because this.props.tracks is undefined. I have been struggling to have the props inherited by TrackList. In React devtools, the props show tracks: undefined. Although, I did manage to get the props to inherit properly before. It seems finicky… I will report back if/when I find a solution.

Hi,

I can’t fully remember but I think you also use the tracks in a different component and this is why it doesn’t work. I think if you complete the next few steps it starts working again.

This thread explains it better than me!