@rfilenko
Posted
Hey, nice work, how is debouncer helping here? 😉 Thanks
Have a good one, Roman
@dgdev1024
Posted
@rfilenko The debouncer consists of a 'useEffect' hook which lists the search input and region select option as dependencies. The hook sets a timeout which pulls from the API 500 ms after the last input into the search box or change in the selected region. The timeout is cleared when either input changes. Don't have to hit Enter to get your results. :)