Javascript – Anomaly in Updating React Array State
Updating state of array didn't work like expected! I'm making a Tic-Tac-Toe Game with this detail: I have a state called gameBoardState (an 3x3 array) that contains the position of 'X' & 'O' with initial value of all 'null'. **const…