-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Throws a warning when component is unmounted before the debounced function executes #5
Comments
@podefr Thank you for this tool, it's saved me from some annoyingly slow form updates. I'm running into this minor problem though sometimes when I'm navigatating off a page: When the debounced component is unmounted before the final debounced function execution we get React warnings that look like: For example see the test case in #6 |
Thanks so much @mjhm for raising the issue and suggesting a fix, I'll take a look at the pull request shortly! |
Thanks @mjhm I just pushed v4.0.1 with the fix. Let me know if it closes the issue! |
Warning all gone! Thank you! |
No description provided.
The text was updated successfully, but these errors were encountered: