After reading just about a million articles (haha) and trying out god knows how many packages, I found this article and the recommended package to be absolutely the best. I've integrated and its live. Bundlephobia showed this package (https://www.npmjs.com/package/throttle-debounce) to be the tiniest between lodash, underscore, rxjs, react-debounce-input and what have we. It works as expected, and Peter, your explanations are top notch, so thank you. This is such a well written article on this topic. For the record, I integrated this with the async version of react-select for fetching results from my backend API on nextelection.com.
Comment
After reading just about a million articles (haha) and trying out god knows how many packages, I found this article and the recommended package to be absolutely the best. I've integrated and its live. Bundlephobia showed this package (https://www.npmjs.com/package/throttle-debounce) to be the tiniest between lodash, underscore, rxjs, react-debounce-input and what have we. It works as expected, and Peter, your explanations are top notch, so thank you. This is such a well written article on this topic. For the record, I integrated this with the async version of react-select for fetching results from my backend API on nextelection.com.
Replies
That's so nice to hear!