I believe this is caused by a desync between the React's asynchronous state management and the synchronous game logic. I'm unsure if there's a good way to handle this without a massive refactor (replacing React entirely with some other data-synchronous framework)
I believe this is caused by a desync between the React's asynchronous state management and the synchronous game logic. I'm unsure if there's a good way to handle this without a massive refactor (replacing React entirely with some other data-synchronous framework)