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

Consider using just one WebSocket #5

Open
rgov opened this issue Jul 22, 2022 · 0 comments
Open

Consider using just one WebSocket #5

rgov opened this issue Jul 22, 2022 · 0 comments

Comments

@rgov
Copy link
Member

rgov commented Jul 22, 2022

Currently each mounted component can have its own WebSocket connection to the ICS. This was an expedient way to implement things but it would be more efficient to share a single connection.

Could we just put the latest message of each "type" in the Redux store, and then components can just depend on latestNavHeartbeat or whatever and get re-rendered magically?

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

1 participant