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
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
Timeouts can cause a DOM repaint, which kind of defeats the point of why we're using debounce in the first place: to stop the DOM from repainting during expensive operations!
We should just make a method that checks the current time versus the last time the function was called, and uses that to determine whether it should call again.
The text was updated successfully, but these errors were encountered:
Timeouts can cause a DOM repaint, which kind of defeats the point of why we're using debounce in the first place: to stop the DOM from repainting during expensive operations!
We should just make a method that checks the current time versus the last time the function was called, and uses that to determine whether it should call again.
The text was updated successfully, but these errors were encountered: