I am using a useEffect to create websocket listeners on initial mounting. I would also like to subscribe to websocket feed using ws.send. The data
useEffect
ws.send