Javascript searching. hit API when the user pause not on every keystroke(Debouncing)
1 min readJul 4, 2019
Here I am going to discuss search technique while user search in the search box so every time hit API and get a result from the server.
But this process is heavy because on every keypress network call made.
index.html
app.js
Running Example:
Type fastly in the search box so no console will appear. When stop typing then console will apear
Give a clap if like my post. Thanks