Skip to content

Commit

Permalink
Add information, that the callback from useDebounced callback returns…
Browse files Browse the repository at this point in the history
… a value
  • Loading branch information
xnimorz committed Sep 9, 2020
1 parent 22883f1 commit f9f4cb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ _how to migrate_: Please, check your `traling: false` params with `maxWait` opti

- _breaking change_: Now in case delay option is unset, it will be `requestAnimationFrame` delay

- _breaking change_: Now `debouncedCallback` from `useDebouncedCallback` returns a value. In v3 it used to return `undefined`:

## 3.4.3

- Fix use-debounce so that it works correctly with react-native and next.js (as both of them use fast-refresh).
Expand Down

0 comments on commit f9f4cb3

Please sign in to comment.