react-hook
react-hook copied to clipboard
Possible Bug based On Code Comments
Describe the bug This isn't necessarily a bug, however I thought I would point it out in case it is unintentional.
The useTimeoutCallback function here, only has 2 parameters (callback and ms) however the code comment here references an additional dependencies parameter.
Not sure if this is a code comment that is stale or additional code that is missing.
I hope this was helpful, thanks!
You're right, dependencies is a stale comment. Will fix it soon. Thanks for the report!