I’m a react beginner and I made a simple game for practice. The rules are simple: click on a group of 3 or more colors. I was planning on making the game a bit more complex, but I’m running in to a problem. If you click a lot, the browser gets terribly bogged down to the point where it’s unusable.
So this is where my inexperience is hitting me really hard. There must be something about my design of the app and the components that must be horribly inept. Can anyone here critique my work and tell me what best practices I’m overlooking? Any guidance would be greatly appreciated!
Here’s my repo: https://github.com/Greta/electron-game