Y
Hacker News
new
|
ask
|
show
|
jobs
by
robertlagrant
16 days ago
Indeed. It's the same principle[0] the other way too - start a timer from user typing for an autocomplete function and only refetch after the timer expires.
[0]
https://developer.mozilla.org/en-US/docs/Glossary/Debounce