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

增加useWebSocket 新特性,可以改变websocketUrl 而不重复渲染 #1523

Closed
LoveEocding opened this issue Mar 28, 2022 · 1 comment
Closed

Comments

@LoveEocding
Copy link

使用场景

目前有个使用场景是,在当前页面可以切换url,目前使用useWebSocket时,会出现切换第二个实例之后,第一个会在关闭回调中继续reconnect,这样就会导致两个websocket链接不断改变状态,不断重复链接。
image

需求

希望增加一个新的feature 支持这种切换场景,也保留断掉重试机制

@liuyib
Copy link
Collaborator

liuyib commented Jun 6, 2023

fixed by: #2177

@liuyib liuyib closed this as completed Jun 6, 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

No branches or pull requests

2 participants