Difference between debounce and throttle
Debounce is like hitting the snooze button on your alarm clock. You are trying to wake up, but you’re just not there yet. Debounce is you saying not yet, not yet, not yet — and this could go on forever. Theoretically you might never wake up. A real world…