jadjoubran / codetogo.io

🚀 JavaScript code to go - Find updated snippets for common JavaScript use cases
https://codetogo.io
MIT License
233 stars 30 forks source link

Use Case Suggestion: debouncing #367

Open Tiwari007 opened 5 months ago

Tiwari007 commented 5 months ago

So Debouncing is a technique of delaying the execution of a function until a certain amount of time has passed since the last time it was triggered.

This is useful for preventing unnecessary calls (functions , API's etc.) when a user is typing in a search bar and the search results are updated after every keystroke.

Tiwari007 commented 4 months ago

Created a PR for this issue

Tiwari007:debouncing-usecase