Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why do I click connect to websocket but it connect twice? #244

Open
phlong86 opened this issue Oct 4, 2024 · 2 comments
Open

Why do I click connect to websocket but it connect twice? #244

phlong86 opened this issue Oct 4, 2024 · 2 comments

Comments

@phlong86
Copy link

phlong86 commented Oct 4, 2024

Screen Shot 2024-10-04 at 16 47 31
@robtaussig
Copy link
Owner

Can you provide a code example/repo link? My best guess is that the hook is being called in two components and you aren't using the share option.

@jennydaman
Copy link

It could also be a React.StrictMode gotcha.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants