I want to connect my socket connection from useEffect like componentDidMount
socket
useEffect
componentDidMount
const Chat = () => { const [user, set