Skip to content

Releases: onderonur/react-intersection-observer-hook

v4.0.1

21 Oct 19:02

Choose a tag to compare

🐞 #20 is fixed

v4.0.0

03 May 12:19

Choose a tag to compare

  • React v19 compatibility by using cleanup functions for refs
  • Stop minifying bundle since users will already be minifying their bundle anyway
  • Improved API for useTrackVisibility by using once flag for one-time visibility tracking of elements

v3.0.1

17 Aug 23:46

Choose a tag to compare

Fixed peerDependencies by adding react-dom.

v3.0.0

11 Aug 12:44

Choose a tag to compare

v2.1.1

28 Feb 19:16

Choose a tag to compare

Observer cache improvement for using different observers on the same element

v2.1.0

26 Feb 17:15

Choose a tag to compare

Observer cache & removed unnecessary useEffect

v2.0.6

16 Oct 18:56

Choose a tag to compare

Minor refactor for useTrackVisibility.

v2.0.5

15 Oct 16:11

Choose a tag to compare

IntersectionObserverHookArgs type is fixed by omitting root from IntersectionObserverInit.

v2.0.4

02 Apr 21:47

Choose a tag to compare

React 18 issue for unmount-remount in StrictMode is fixed

v2.0.3

04 Apr 19:59

Choose a tag to compare

Fix for typings of hook results.