reagent

A minimalistic ClojureScript interface to React.js http://reagent-project.github.io/
v 2020-07-15T21:18:10.036800Z

how do you do debounce/throttle in reagent

v 2020-07-15T21:18:38.037400Z

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

p-himik 2020-07-15T22:02:28.037800Z

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