usehooks-ts icon indicating copy to clipboard operation
usehooks-ts copied to clipboard

Incorrect documented default for debounce trailing option

Open bryfox opened this issue 7 months ago • 0 comments

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

bryfox avatar Jul 23 '24 20:07 bryfox