react-use-ws (npm): React hook to open/close a websocket connection when a component mounts/unmounts
Keywords: websocket|websockets|realtime|hook|hooks|react|react-use