Type "javascript" into an unthrottled search box and watch the network tab: an HTTP request for j , another for ja , another for jav , ten in total, nine of them thrown away before the response even lands. The server did ten times the work the feature needed, and the UI flickers with results for...
Source: [Dev.to](https://dev.to/parsajiravand/debounce-and-throttle-in-javascript-the-complete-guide-2o61)