dlhg / burgerclicker

0 stars 0 forks source link

using a macro to click 100 times a second breaks the game after a few seconds, unlike cookie clicker #3

Open dlhg opened 1 year ago

dlhg commented 1 year ago

Warning: Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.

seems like cookie clicker sets an upper limit to number of clicks the game accepts per second