Skip to content

Use ReconnectingWebSocket instead of vanilla WebSocket#348

Merged
picklelo merged 4 commits intoreflex-dev:mainfrom
thavocado:main
Jan 26, 2023
Merged

Use ReconnectingWebSocket instead of vanilla WebSocket#348
picklelo merged 4 commits intoreflex-dev:mainfrom
thavocado:main

Conversation

@thavocado
Copy link
Contributor

Currently Pynecone doesn't handle websocket onclose events. Using reconnecting-websocket handles such events automatically.

Note that this does not 100% solve the issues which arise on mobile devices, especially iPhones which aggressively control network connection to preserve battery.

Copy link
Contributor

@picklelo picklelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding

@picklelo picklelo merged commit a4ac297 into reflex-dev:main Jan 26, 2023
ACucos1 pushed a commit to ACucos1/rd-pynecone that referenced this pull request Feb 28, 2023
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

Successfully merging this pull request may close these issues.

3 participants