score:1

Accepted answer
componentDidUpdate(prevProps, prevState, snapshot) => {
  if(prevState.socketData.gamePayload?.chooserGuid === prevState.userData.playerGuid) {
     ... }
}

Related Query

More Query from same tag