React memory game: state update out of sync

前端 未结 0 1846
名媛妹妹
名媛妹妹 2020-12-06 06:11

I\'m trying to create a 4x4 memory game. How I have things set up currently is that when a square is clicked, the color and index of the square is sent to "holder"

相关标签:
回答
  • 消灭零回复
提交回复
热议问题