Skip to content

Conversation

@nexxai
Copy link

@nexxai nexxai commented Dec 22, 2025

Problem

I want to be able to determine the current status of my connection to Reverb. As it stands there isn't currently a way to reliably retrieve this status.

Proposed Solution

I have added a useConnectionStatus hook that returns the current status, fetching it from the existing Pusher and Socket.IO libraries behind the scenes.

Notes

I am not currently sold on the return values as strings, but I couldn't come up with anything better that clearly represented the various states. I am very open to alternative suggestions; I just wanted to get something out there so that we could start the discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant