Skip to content

Releases: garthenweb/react-viewport-utils

v1.8.4

12 May 12:27

Choose a tag to compare

  • [5f1a37f] prevent JavaScript errors on old devices
  • [451a810, 1676c05] support NodeJS versions bigger than v10
  • [500066c] trigger viewport update for ObserveViewport when it changes when disableScrollUpdates or disableDimensionsUpdates toggle from a truthy to a falsy value. This will update the ui automatically without waiting for a scroll/ resize event from the user.

v1.8.3

25 Feb 12:44

Choose a tag to compare

  • [9f44357] prevent JavaScript errors in old browsers (follow up of f29e385)

v1.8.2

18 Feb 21:48

Choose a tag to compare

  • [4a3fded] fix error when a context warning should be thrown

v1.8.1

16 Feb 15:22

Choose a tag to compare

  • [f29e385, 46bfac1] prevent JavaScript errors in old browsers
  • [f3e882b] document supported browser and NodeJS versions

v1.8.0

10 Feb 17:00

Choose a tag to compare

  • [4802a9e] ensure hooks to not throw a warning in stable release of react
  • [51444a8] upgrade dependency memoize-one to v5
  • [bdaad5f] remove dependency raf to reduce the bundle size
  • [3404f9e] run basic tests in CI

v1.7.4

02 Dec 21:18

Choose a tag to compare

  • [19767c2] fix bug where dimensions are not initially filled with values in firefox and edge (and probably all browser without support for ResizeObserver). Please note that hooks were not affected by this bug.

v1.7.3

17 Nov 13:10

Choose a tag to compare

  • [6176083] fix usage of lifecycle hook for layout operations
  • [fcabab9] fix server side rendering

v1.7.2

11 Nov 22:15

Choose a tag to compare

  • [7adb2be] fix regression to fill mounted component always with a valid default value (all values where 0 before on initial mount)

v1.7.1

11 Nov 22:13

Choose a tag to compare

  • [382d518] remove recompose from dependencies
  • [c1c2e94] do not trigger unused layout updates when using hooks/ on mounting a component

v1.7.0

04 Nov 22:47

Choose a tag to compare

  • [6de61bc] add useLayoutSnapshot to execute layout reads in hooks