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

Investigate server sent events over polling #14

Open
nathan815 opened this issue Jan 14, 2023 · 0 comments
Open

Investigate server sent events over polling #14

nathan815 opened this issue Jan 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@nathan815
Copy link
Owner

Currently the game page polls server every 2s and retrieves entire game state json. It caches the object and does a deep comparison with response to prevent unnecessary component re-renders.

But the ideal way is to push only data that has changed (events) from the server to the clients.

@nathan815 nathan815 converted this from a draft issue Jan 14, 2023
@nathan815 nathan815 added the enhancement New feature or request label Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant