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
I tried to use an async function with setTimeout in order to add to history only after the state stops changing. Instead of saving every single change of state I wanted to save only when half a second has passed after the user's last action without a new action being executed. Is that possible?
The text was updated successfully, but these errors were encountered:
I tried to use an async function with setTimeout in order to add to history only after the state stops changing. Instead of saving every single change of state I wanted to save only when half a second has passed after the user's last action without a new action being executed. Is that possible?
The text was updated successfully, but these errors were encountered: