Hey, guys! How is it going? I think that it would be great to have a new method to restart the debounce timer like restart() or recall(). Is the same as calling again the function with the last arguments, I think a useRef() hook is more than enough to achieve it.
Hey, guys! How is it going? I think that it would be great to have a new method to restart the debounce timer like
restart()
orrecall()
. Is the same as calling again the function with the last arguments, I think auseRef()
hook is more than enough to achieve it.What do you think?