You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When react-dev-tools are open and the component that uses the useDebouncedCallback method is focused in react-dev-tools then if the user calls the set state method of a useState hook the state will not update.
To Reproduce
Go to the example of useDebouncedCallback from the README, then open react-dev-tools and click on the "Input" component. Now if you change the value of the input field the state will not be updated https://codesandbox.io/s/x0jvqrwyq
Expected behavior
If the above steps are followed then the state should be updated
use-debounce version: 7.0.1
The text was updated successfully, but these errors were encountered:
Describe the bug
When react-dev-tools are open and the component that uses the
useDebouncedCallback
method is focused in react-dev-tools then if the user calls the set state method of auseState
hook the state will not update.To Reproduce
Go to the example of
useDebouncedCallback
from the README, then open react-dev-tools and click on the "Input" component. Now if you change the value of the input field the state will not be updatedhttps://codesandbox.io/s/x0jvqrwyq
Expected behavior
If the above steps are followed then the state should be updated
use-debounce version: 7.0.1
The text was updated successfully, but these errors were encountered: