Reference

https://github.com/xnimorz/use-debounce

 

Introduction to useDebounce

For a stream of a given input, only do X after a quiet period of T seconds.

 

Problem

A filter that calls an end point.

The endpoint is called after each letter is pressed.

How to call the endpoint only after the user has stopped typing?

 

Solution: useDebounce

 

 

 

 

 

Reference

https://www.youtube.com/watch?v=MHm-2YmWEek