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
@mantine/hooks
In some cases the Interval hook is firing the timer twice depending on how the component using it is being created.
Related to #782 and specifically this fix: #1498
cc @prograpp
5.1.1
No response
Yes
the intervalRef must be nulled out PR on its way
intervalRef
The text was updated successfully, but these errors were encountered:
Fix mantinedev#2093: Interval hook ensure only 1 running timer
b67b6e5
[@mantine/hooks] use-interval: Ensure that only one running interval …
e449ac2
…can be rutting at a time (#2093)
Successfully merging a pull request may close this issue.
What package has an issue
@mantine/hooks
Describe the bug
In some cases the Interval hook is firing the timer twice depending on how the component using it is being created.
Related to #782 and specifically this fix: #1498
cc @prograpp
What version of @mantine/hooks page do you have in package.json?
5.1.1
If possible, please include a link to a codesandbox with the reproduced problem
No response
Do you know how to fix the issue
Yes
Are you willing to participate in fixing this issue and create a pull request with the fix
Yes
Possible fix
the
intervalRef
must be nulled out PR on its wayThe text was updated successfully, but these errors were encountered: