We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
React 18 useEffect runs twice!
you need set in useThrottleFn function useUnmount(function () { timeout.current && clearTimeout(timeout.current); timeout.current = undefined; });
useUnmount(function () { timeout.current && clearTimeout(timeout.current); timeout.current = undefined; });
The text was updated successfully, but these errors were encountered:
same as #2343
Sorry, something went wrong.
Fix streamich#2383 useThrottleFn fail in development
6c0046c
Successfully merging a pull request may close this issue.
React 18 useEffect runs twice!
you need set in useThrottleFn function
useUnmount(function () { timeout.current && clearTimeout(timeout.current); timeout.current = undefined; });
The text was updated successfully, but these errors were encountered: