thebuilder/react-intersection-observer
 Watch   
 Star   
 Fork   
15 days ago
react-intersection-observer

v9.15.1

9.15.1 (2025-01-21)

Bug Fixes

Fixes and improvements to react-intersection-observer/test-utils

  • always recreate the IntersectionObserver mock (c720914)
  • improve test lib detection (1858e43)
  • use isMockFunction to detect if the IntersectionObserver is being mocked (189133f)
22 days ago
react-intersection-observer

v9.15.0

9.15.0 (2025-01-14)

Features

  • restore beforeEach in test utils (788dd47)
2024-12-31 05:39:25
react-intersection-observer

v9.14.1

9.14.1 (2024-12-30)

Bug Fixes

  • ensure browser environment in test-utils (6e459f2)
2024-12-14 21:41:12
react-intersection-observer

v9.14.0

9.14.0 (2024-12-14)

Features

  • support React 19 (8bafe25)
  • Drop support for React 15/16. The types are no longer compatible with later version of React, since they have dropped the deprecated types.
2024-09-05 04:24:08
react-intersection-observer

v9.13.1

9.13.1 (2024-09-04)

Bug Fixes

  • align IntersectionObserver options with DOM API (abb4ee8)
2024-07-11 18:02:30
react-intersection-observer

v9.13.0

9.13.0 (2024-07-11)

Features

  • fix package exports and simplify build (#695) (c9cef8f) - All thanks go to @RobinTail
2024-07-11 16:12:36
react-intersection-observer

v9.12.0

9.12.0 (2024-07-11)

Features

  • upgrade to Vitest 2 (#690) (054adf4)
    • Upgrade to Vitest 2
    • Add basic browser mode test, that runs with an unmocked IntersectionObserver
    • Types cleanup in test-utils, getting rid of @types/jest (replaced with vitest)
    • Move test mocking setup from beforeEach to beforeAll
2024-07-11 15:12:39
react-intersection-observer

v9.11.0

9.11.0 (2024-07-11)

Features

  • remove script to publish dist dir (0980efa)
2024-06-06 03:35:51
react-intersection-observer

v9.10.3

9.10.3 (2024-06-05)

Bug Fixes

  • test-utils - execute mockClear method only when it exists (712ae37)
2024-05-04 05:11:32
react-intersection-observer

v9.10.2

9.10.2 (2024-05-03)

Bug Fixes

  • support old act from react-dom (0e95b5d)