How to create a custom debounce react hook using useEffect
Introduction
When you type into google docs, does it save your changes at every keystroke?
No, it does not, it waits, holds on for some time after your last keystroke/change and then fires up the save functionality. That right there was debouncing.
...
adityasaxena.hashnode.dev9 min read