UNPKG

react-timer-hoc

Version:

A React timer higher-order component

97 lines (40 loc) 2.54 kB
<a name="2.3.0"></a> # [2.3.0](https://github.com/troch/react-timer-hoc/compare/v2.2.0...v2.3.0) (2017-09-26) <a name="2.2.0"></a> # [2.2.0](https://github.com/troch/react-timer-hoc/compare/v2.1.0...v2.2.0) (2017-07-15) ### Features * add timestamp property on timer prop (tick timestamp) [@MilllerTime](https://github.com/MilllerTime) ([299970c](https://github.com/troch/react-timer-hoc/commit/299970c)) <a name="2.0.1"></a> ## [2.0.1](https://github.com/troch/react-timer-hoc/compare/v2.0.0...v2.0.1) (2015-12-08) <a name="2.0.0"></a> # [2.0.0](https://github.com/troch/react-timer-hoc/compare/v1.0.5...v2.0.0) (2015-11-30) ### Features * add ability to resume and change delay of a timer ([cfbdf7c](https://github.com/troch/react-timer-hoc/commit/cfbdf7c)) * add support for synchronizeWith property ([de65117](https://github.com/troch/react-timer-hoc/commit/de65117)) ### BREAKING CHANGES * tick, delay, stops are now properties of a timer prop <a name="1.0.5"></a> ## [1.0.5](https://github.com/troch/react-timer-hoc/compare/v1.0.4...v1.0.5) (2015-11-30) ### Bug Fixes * fix typo in componentWillUnmount ([12eadac](https://github.com/troch/react-timer-hoc/commit/12eadac)) * fix typo in package.json property ([1bbfeef](https://github.com/troch/react-timer-hoc/commit/1bbfeef)) <a name="1.0.4"></a> ## [1.0.4](https://github.com/troch/react-timer-hoc/compare/v1.0.3...v1.0.4) (2015-11-28) <a name="1.0.3"></a> ## [1.0.3](https://github.com/troch/react-timer-hoc/compare/v1.0.2...v1.0.3) (2015-11-28) ### Bug Fixes * fix dependencies ([4b9ef17](https://github.com/troch/react-timer-hoc/commit/4b9ef17)) <a name="1.0.2"></a> ## [1.0.2](https://github.com/troch/react-timer-hoc/compare/v1.0.1...v1.0.2) (2015-11-28) ### Bug Fixes * replace bad 1.0.1 build ([38f767f](https://github.com/troch/react-timer-hoc/commit/38f767f)) <a name="1.0.1"></a> ## [1.0.1](https://github.com/troch/react-timer-hoc/compare/v1.0.0...v1.0.1) (2015-11-28) ### Bug Fixes * bug with props assignment ([1703c99](https://github.com/troch/react-timer-hoc/commit/1703c99)) <a name="1.0.0"></a> # [1.0.0](https://github.com/troch/react-timer-hoc/compare/001ae13...v1.0.0) (2015-11-28) ### Features * add timer hoc ([001ae13](https://github.com/troch/react-timer-hoc/commit/001ae13)) * pass down stop function ([32264ed](https://github.com/troch/react-timer-hoc/commit/32264ed)) * use setTimeout rather than setInterval to avoid drifting ([8da189e](https://github.com/troch/react-timer-hoc/commit/8da189e))