jquery – .map is not a function React – Stack Overflow

  • see answer below: – JordanHendrix 3 hours ago
  • 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.
  • You can see a console.log screenshot : prnt.sc/b175rh @JordanHendrix – buschschwick 3 hours ago

Read the full article, click here.


@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