Should useDebounceCallback be called something else? #586
mariusGundersen
started this conversation in
General
Replies: 1 comment
-
Now that I look at it I think maybe |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It seems weird to me that useDebounceCallback doesn't take in a depebency list like useCallback. Is it really a callback? Maybe it should take in a dependency list? The way it works now I have to declare two functions, one with useCallback and one with useDebounceCallback:
Beta Was this translation helpful? Give feedback.
All reactions