Created with CodeSandbox
This is a simple example of how you can create and use your own Debounce method in React. Debounce method is very simple and a small code so you don't need to import any third party library for the same. Unless you have more advance requirement.
Preview this code on CodeSandbox, here is the url: https://codesandbox.io/s/github/rsahni/react-simple-autocomplete-debounce/tree/master/?fontsize=14&hidenavigation=1&theme=dark