Skip to content

Releases: thibaultboursier/use-timer

v1.0.4

24 Mar 19:07
Compare
Choose a tag to compare
  • cancel timeout when timer is reseted

v1.0.1

24 Mar 17:37
Compare
Choose a tag to compare
  • update Readme

v1.0.0

24 Mar 17:36
Compare
Choose a tag to compare
  • fix reset time problem on timer restart
  • update dependencies
  • use Jest advanceTimersByTime method rather than runTimersToTime
  • add Prettier and TSLint (#2)

v0.4.0

11 Mar 18:54
Compare
Choose a tag to compare
  • add "step" feature, which offers the possibility to set an increment / decrement value. Thanks to @aksjer
  • improve code quality

v0.3.2

09 Mar 00:33
Compare
Choose a tag to compare
  • fix error with endTime timeout which computed value was wrong.

v0.3.0

05 Mar 21:40
Compare
Choose a tag to compare
  • add "end time" feature, in order to define a value for which timer stops
  • update Readme

v0.2.7

04 Mar 22:31
Compare
Choose a tag to compare
  • use callback version of useState setter when updating previous time

v0.2.6

03 Mar 21:51
Compare
Choose a tag to compare
  • cancel timer when component is unmounted

v0.2.4

02 Mar 14:12
Compare
Choose a tag to compare
  • add link to Stackblitz demo inside Readme
  • add bundle size badges inside Readme

v0.2.3

02 Mar 11:53
Compare
Choose a tag to compare
  • fix an error inside Readme (replace "initialValue" property with "initialTime")