re: React Beginner Question Thread ⚛ VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

Turns out, I'm an idiot. I had changed the casing of "ID" in the response, but forgot to commit it aaaaaand I ended up with it happening.

Basically I was doing key={undefined}. Could React warn user when this happens, something like "Looks like you tried to supply a key, but the value supplied is undefined. Check the render..." and so on?

This demo works: codepen.io/k1sul1/pen/WdpKwx

code of conduct - report abuse