Open haydenull opened 2 years ago
Hello @haydenull you are right, I have also noticed that recently. Do you have any idea on how to resolve this issue? I will try to work on it.
Hello, I have submitted a pr. Maybe can help with this. Please let me know if you have any questions.
I'm using this in a project and noticing this as well. Any chance this gets fixed? Happy to help.
I think the 'setInterval' function in javascript should be used to run the timer, instead of a useEffect in the useInterval hook
Thanks to this wonderful tool, I recently discovered a small problem
I think this is probably because setInterval may be interrupted when the page is inactive,Maybe we could use a timestamp comparison to keep track of how much time has passed。