Skip to content
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

fix(useDebouncedCallback): make invoked function to be updated with deps #1510

Merged
merged 1 commit into from
Feb 4, 2024

Conversation

xobotyi
Copy link
Contributor

@xobotyi xobotyi commented Feb 4, 2024

fix: #1357

Copy link

codecov bot commented Feb 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a2a310e) 99.62% compared to head (11b7398) 99.62%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1510   +/-   ##
=======================================
  Coverage   99.62%   99.62%           
=======================================
  Files          62       62           
  Lines        1073     1076    +3     
  Branches      171      171           
=======================================
+ Hits         1069     1072    +3     
  Misses          2        2           
  Partials        2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@xobotyi xobotyi merged commit 12658ee into master Feb 4, 2024
8 checks passed
github-actions bot pushed a commit that referenced this pull request Feb 4, 2024
## [24.0.4](v24.0.3...v24.0.4) (2024-02-04)

### Bug Fixes

* **useDebouncedCallback:** make invoked function to be updated with deps ([#1510](#1510)) ([12658ee](12658ee)), closes [#1357](#1357)
@xobotyi
Copy link
Contributor Author

xobotyi commented Feb 4, 2024

🎉 This PR is included in version 24.0.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

useDebouncedCallback will miss the trailing call when when maxWait is set
1 participant