[ES5 & ES6] Debounce React Events on Inputs

Post by Peter Watson-Wailes

react, web dev

In my day to day, I deal with a lot of React code. One of the most common components I use across the codebase I maintain is a table with search and sorting options. The sorting runs onClick immediately, but the tables (generated from JSON) can often run into 10k+…