Skip to content

Releases: peterjuras/react-time-sync

v5.0.5

18 Jun 06:52
3075019

Choose a tag to compare

5.0.5 (2019-06-18)

Bug Fixes

  • Change repository url to fix CI issues (e97975d)

v5.0.4

07 Apr 14:11
648f280

Choose a tag to compare

5.0.4 (2019-04-07)

Bug Fixes

  • hooks: Only re-render when necessary (648f280)

v5.0.3

06 Apr 10:24
9d43b76

Choose a tag to compare

5.0.3 (2019-04-06)

Bug Fixes

  • docs: Fixed property explanations in README (9d43b76)

v5.0.2

06 Apr 10:11
a95e81b

Choose a tag to compare

5.0.2 (2019-04-06)

Bug Fixes

  • docs: Fixed usage examples in README (a95e81b)

v5.0.1

30 Mar 13:18
df65a4d

Choose a tag to compare

5.0.1 (2019-03-30)

Bug Fixes

  • README: Add TimeProvider props (df65a4d)

v5.0.0

30 Mar 13:10
e17d1e7

Choose a tag to compare

5.0.0 (2019-03-30)

Features

  • TimeProvider: TimeProvider is no longer required (e17d1e7)
  • TimeProvider: Add custom timeSync prop to Component (2c5e2da)

BREAKING CHANGES

  • React 16.8 is now required, since all component
    variations are based on the useTime and useCountdown hooks now.
  • It is no longer necessary to have a <TimeProvider>
    component in the View hierachy. If no Provider is available, a default
    timeSync instance will be used.

Custom TimeSync instance

You can now add a custom TimeSync instance to a TimeProvider
Component using a prop, to control where timers are added.
Note: TimeProvider will not remove all timers and stop countdowns on
custom TimeSync instances when unmounting.

// Example
const timeSync = new TimeSync();
return <TimeProvider timeSync={timeSync} />;

v4.3.2

16 Feb 15:03

Choose a tag to compare

4.3.2 (2019-02-16)

Bug Fixes

  • README: Add header for section (38298a6)

v4.3.1

16 Feb 14:54

Choose a tag to compare

4.3.1 (2019-02-16)

Bug Fixes

  • circleci: Rerun build to publish (36156c1)