React state is always null with Socketio

前端 未结 0 614
没有蜡笔的小新
没有蜡笔的小新 2020-11-21 05:44

Im using Socket.io for my React app and Im facing a weird issue.

Here is the code of my component :

function ImageToGuess(props){
    let socket = useC         


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