Robert Taussig

Results 22 comments of Robert Taussig

Hi @csvan , I apologize for the late reply. I added it in response to this [issue](https://github.com/robtaussig/react-use-websocket/issues/135), but otherwise had no strong motivation for it. Professionally, I've never had to...

Hi @poljsakerik , When you say 'tab', do you mean browser tab? If so, the browser is supposed to handle this for you (afaik), but there is no reliable way...

Hi @MetaBenji, Unfortunately, I do not have a lot of experience with `redux-saga.` Based on my limited understanding of it, I would consider creating a wrapper hook for `useWebSocket` that...

Hi @kaybee99, Could you post an example of how you are using `useWebSocket`? I can't think of a reason why it would not reconnect for the 2 hour limit (and...

Is it possible that AWS requires a new token after the 2 hour limit? Also, a few things that I would try: ```ts const { sendJsonMessage } = useWebSocket(socketUrl, {...

Hi @dmckinney1229, If you have found a work-around/fix that is possible without this library, I'd be happy to take a look and see how to make it work with the...

Hi @cubecleveland, Unfortunately, I don't know enough about SSE to answer this question. If you can provide a code example, I can take a look.

Interesting! You can probably achieve this using query strings, though that might have upstream effects depending on how your server is set up.

@lightrow do you mean sending messages from the client or receiving messages from the server?

@sehyunc roughly how many components are sharing a socket? And can you verify that the bottleneck is the hook (vs whatever ui changes happen as a result of the messages...