Debouncing used to improve the performance of frequently executed actions, by delaying them, grouping them, and only executing the last call.
Function to debounce
Function delay
new function
Debouncing used to improve the performance of frequently executed actions, by delaying them, grouping them, and only executing the last call.