Skip to content

Commit

Permalink
Merge pull request #59 from Ashish-simpleCoder/changeset-release/main
Browse files Browse the repository at this point in the history
Fix: callback triggered after unmount for `use-debounced-fn` hook
  • Loading branch information
Ashish-simpleCoder authored Jul 15, 2024
2 parents 7352f71 + 47ae9b1 commit dbee5a2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
8 changes: 0 additions & 8 deletions .changeset/rare-dingos-buy.md

This file was deleted.

9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# classic-react-hooks

## 1.2.0

### Minor Changes

- 39f9f42: Add timer cleanup on unmount in use-debounced-fn

- fix #57: Callback is triggered after unmount for use-debounced-fn hook
- Add tests for timer cleanup and params syncing in use-debounced-fn hook

## 1.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "classic-react-hooks",
"version": "1.1.0",
"version": "1.2.0",
"description": "A great collection of React utility hooks",
"keywords": [
"classic-react-hooks",
Expand Down

0 comments on commit dbee5a2

Please sign in to comment.