Skip to content
Advertisement

Tag: debouncing

Lodash debounce async/await

I’m trying to add debounce to my application before I do an api call. However when I introduce debouce, it seems like my await is ignored and the function calls due to missing values Error: in the setSearch method, I wrapped the call to get data in debounce but nothing happens. Answer I think I figured it out. Deboune returns

Advertisement