amrlabib / react-timer-hook

React timer hook

Home Page:https://www.npmjs.com/package/react-timer-hook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

useTimer pause issue.

nischandra opened this issue · comments

useTimer : When we press the pause button and then press the start button after a few seconds of delay, the timer does not start from the paused time.

After calling pause you need to call resume to be able to continue from the last paused time. calling start will continue based on the original expiry. Checkout the documentation here https://github.com/amrlabib/react-timer-hook#values