Search with debounce

Hi guys! I’m learning how to create a Search with debounce but I’m kind lot with the logic, anyone can help me? table-debounce-search - CodeSandbox

What exactly are you trying to do? What is and is not working with your current approach?

lodash dobounce may be useful
They have nice examples in the docs Lodash Documentation

Debouncing the input on its own doesn’t really do anything except delay the input. Which isn’t particularly useful. Is this meant to be used with an API call?

One option is to use a useEffect