Skip to content
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

Fix #2093: [@mantine/hooks] Interval hook ensure only 1 running timer #2094

Merged
merged 1 commit into from Aug 12, 2022

Conversation

melloware
Copy link
Contributor

Fix #2093: Interval hook ensure only 1 running timer

This ensures even when creating and destroying components in React 18 it ensures that only 1 timer can be running at a time.

@melloware melloware changed the title Fix #2093: Interval hook ensure only 1 running timer Fix #2093: {@mantine/hooks] Interval hook ensure only 1 running timer Aug 12, 2022
@melloware melloware changed the title Fix #2093: {@mantine/hooks] Interval hook ensure only 1 running timer Fix #2093: [@mantine/hooks] Interval hook ensure only 1 running timer Aug 12, 2022
@rtivital rtivital merged commit e449ac2 into mantinedev:master Aug 12, 2022
@rtivital
Copy link
Member

Thanks!

@melloware melloware deleted the M2093 branch August 12, 2022 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Interval hook can create two instances of the timer
2 participants