1.0.2 • Published 5 years ago

use-debounce-animation-frame v1.0.2

Weekly downloads
20
License
MIT
Repository
github
Last release
5 years ago

use-debounce-animation-frame

React hook for debounce-animation-frame. You can use it as a drop-in replacement for useCallback, with the addition that your function will be debounced with debounce-animation-frame.

It takes a function as a first argument, and dependencies as a second argument and returns a function, just like useCallback.

For more information, check out debounce-animation-frame.

License

Licensed under the MIT License.