Thibaultboursier Use Timer Versions Save

A timer hook for React

v2.0.1

3 years ago
  • Fix build issue, due to new demo folder containing .tsx files.

v2.0.0

3 years ago

v1.4.0

3 years ago

v1.3.0

4 years ago
  • 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

4 years ago
  • 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

4 years ago
  • add isRunning returned property, to check if timer is running or not
  • bump some dependencies (#8)

v1.0.8

4 years ago
  • fix interval issue #7

v1.0.7

4 years ago
  • update dependencies

v1.0.6

5 years ago
  • group timers cancellation inside one method called "cancelTimers"

v1.0.5

5 years ago
  • fix pausedTimeRef cancellation when timer is reseted