usehooks-ts
usehooks-ts copied to clipboard
Incorrect documented default for debounce trailing option
Describe the problem
The debounce options are documented with a default value of trailing: false
:
https://usehooks-ts.com/react-hook/use-debounce-value#UseDebounceValueOptions https://usehooks-ts.com/react-hook/use-debounce-callback#DebounceOptions
However, the hooks appear to defer to lodash defaults (with trailing:true
): https://docs-lodash.com/v4/debounce/
Additional context
No response