GeraAlcantara / cards-memory-game

Classic card game, Flip the cards and match done in Vanilla JavaScript, Svelte, VUE, React
https://geraalcantara.github.io/cards-memory-game/
GNU General Public License v3.0
15 stars 26 forks source link

React Game (and maybe others) stops working on refresh #19

Closed arthurmatthew closed 2 years ago

arthurmatthew commented 2 years ago

The game itself worked fine until I refreshed the page to restart the game, it did not work. The cards flipped around which made it look like the game was reset, however I was unable to interact with the cards (flip them).

This happened while I was working on the React version of the game in Visual Studio Code. The only way I was able to fix the game was by re-rendering the entire thing.

GeraAlcantara commented 2 years ago

Adding a new issue #20 please refer to this one in the future