You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: