@erwstout: “I swear one day I’ll get this @reactjs stuff down, “.map is not a function” any one have thoughts on this? #reactjs”
I’m working on a small app that will pull some data from a JSON file (game scores). Currently I am getting the error, games.map is not a function. I saw another post on Stack Overflow that was similar, but the answer was that the initial state was not an array, but I have set my initial state to be an array, so I don’t believe it applies. Below is my React JS can anyone point me in the right direction? Could it have something to do with the JSON structure? You can find the json file here. Thank you kindly!
jquery – .map is not a function React – Stack Overflow