Releases: thibaultboursier/use-timer
Releases · thibaultboursier/use-timer
v2.0.1
v2.0.0
v1.4.0
- add onTimeUpdate callback
- add advanceTime feature (#30)
- refactor state management with useReducer (#34 by @sepehrity)
- update some dependencies with Renovate bot
v1.3.0
- refactor timer (thanks to @luispuig )
- replace Typescript interfaces by types
- extract types inside specific module
- add tslint dependency to fix broken linter (it should be replaced by @typescript-eslint)
- update Travis CI config to run linter, to add more informations on Jest tests, and to cache node_modules
v1.2.0
- add onTimeOver callback function to configuration options, which will be called when time is over
- refactor unit tests, by grouping them into describe wrappers
v1.1.0
v1.0.8
v1.07
- update dependencies
v1.0.6
- group timers cancellation inside one method called "cancelTimers"
v1.0.5
- fix pausedTimeRef cancellation when timer is reseted