medium10 pts · first answer countsjavascriptperformance
Debounce vs throttle for search
A search box calls an API on every keystroke. You want one request only after the user stops typing for 300ms. What should you use?
A search box calls an API on every keystroke. You want one request only after the user stops typing for 300ms. What should you use?