Fork me on GitHub
Vishal Gautam21:07:10

how do you do debounce/throttle in reagent

Vishal Gautam21:07:38

i have a search component that fires an api call to aws as i type, i want to add delay, lets say 500ms


Same way you'd do it in JS - call setTimeout, save its result, cancel it and reschedule if there's new input within 500ms.