Skip to content

Commit

Permalink
Merge pull request #96 from AndreiRailean/patch-1
Browse files Browse the repository at this point in the history
Fix v5 upgrade instructions for useDebounce case
  • Loading branch information
xnimorz authored Jan 22, 2021
2 parents 7f4be9c + 864d7f2 commit e1ccfb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
New:

```js
const [value, fn] = useDebouncedCallback(/*...*/);
const [value, fn] = useDebounce(/*...*/);
/**
* value is just a value without changes
* But fn now is an object: {
Expand Down

0 comments on commit e1ccfb2

Please sign in to comment.