You need to setup the socket listner within the useEffect function otherwise on every re-render a new instance will be created and old ...
確定! 回上一頁