-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: new hook useDebounceCallback
#40
Conversation
Codecov Report
@@ Coverage Diff @@
## master #40 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 18 19 +1
Lines 145 155 +10
Branches 21 22 +1
=========================================
+ Hits 145 155 +10
Continue to review full report at Codecov.
|
useDebounceCallback
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
27a5319
to
96370e7
Compare
# [1.16.0](v1.15.0...v1.16.0) (2021-05-06) ### Features * new hook `useDebounceCallback` ([#40](#40)) ([8018be1](8018be1))
🎉 This PR is included in version 1.16.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [1.16.0](v1.15.0...v1.16.0) (2021-05-06) ### Features * new hook `useDebounceCallback` ([#40](#40)) ([8018be1](8018be1))
What new hook does?
Makes passed function debounced, otherwise acts like
useCallback
.Checklist