Skip to content

Releases: cool-hooks/react-viewport-hooks

1.5.0

01 Jun 20:42
f62e9ad

Choose a tag to compare

Changes

Bug Fix

  • fixed incorrect options merging
  • fixed default value type

1.4.0

25 May 13:49

Choose a tag to compare

Changes

Breaking Changes

  • updated withViewport params order

1.3.0

13 Apr 21:58
3be1afa

Choose a tag to compare

Changes

Breaking Changes

  • removed default values for vw & vh

New Feature

  • added options to set default values for vw & vh

1.2.2

22 Feb 19:18

Choose a tag to compare

Changes

Bug Fix

  • fixed WrappedComponent type

Repository Changes

  • added tests

1.2.0 / 1.2.1

11 Feb 15:35

Choose a tag to compare

Changes

New Feature

  • added withViewport HOC

1.1.2

08 Feb 19:10

Choose a tag to compare

Changes

Improvement

  • added event listener cleanup after resize

1.1.0 / 1.1.1

13 Aug 00:18
30eb726

Choose a tag to compare

Changes

Bug Fix

  • fixed window id undefined error in SSR apps

Repository Changes

  • added ES module

1.0.0 / 1.0.1 / 1.0.2

05 Aug 13:21

Choose a tag to compare

Initial Release

New Feature

  • added useViewport hook