Skip to content

Releases: thebuilder/react-intersection-observer

v9.5.2

28 Jun 10:46
a3f6487
Compare
Choose a tag to compare

9.5.2 (2023-06-28)

Bug Fixes

v9.5.1

20 Jun 09:46
a296737
Compare
Choose a tag to compare

9.5.1 (2023-06-20)

Bug Fixes

v9.5.0

17 Jun 20:20
005a1dd
Compare
Choose a tag to compare

9.5.0 (2023-06-17)

Breaking changes

This release switches the build tool to tsup, in order for the package to support the use client directive. Hopefully it shouldn't have an impact on usage, but changing build output, always carries a slight risk of some tooling breaking.

  • Changes the export file names. If you relied on importing files directly, then you'll need to change the imports.
  • Drops bundling the "umd" version. If anyone was relying on this, let me know.

Features

  • support "use client" with tsup (db2254b)
  • switch to tsup build (9bd69f5)

v9.5.0-beta.2

17 Jun 15:48
Compare
Choose a tag to compare
v9.5.0-beta.2 Pre-release
Pre-release

9.5.0-beta.2 (2023-06-17)

Features

  • support "use client" with tsup (db2254b)

v9.5.0-beta.1

15 Jun 13:48
Compare
Choose a tag to compare
v9.5.0-beta.1 Pre-release
Pre-release

9.5.0-beta.1 (2023-06-15)

Features

v9.4.4

01 Jun 08:57
4b1adce
Compare
Choose a tag to compare

9.4.4 (2023-06-01)

Bug Fixes

  • correct the error message that happens if IntersectionObserver is not mocked (f7da436)

v9.4.3

23 Feb 20:27
412da1e
Compare
Choose a tag to compare

9.4.3 (2023-02-23)

Bug Fixes

  • restrict type on the "as" prop (048bcb0)

v9.4.2

08 Feb 21:48
2273255
Compare
Choose a tag to compare

9.4.2 (2023-02-08)

Performance

  • remove extra useEffect used for resetting initial state (#607)

Bug Fixes

  • publish main with semantic releases (6711bc1)
  • rename master to main (11d5bd1)

v9.4.1

15 Nov 15:17
1187726
Compare
Choose a tag to compare

9.4.1 (2022-11-15)

Bug Fixes

  • add spacing to peer deps (1187726)
  • cannot access 'unobserve' before initialization #587 (3c2f4a1)

v9.4.0

22 Jul 15:30
465754a
Compare
Choose a tag to compare

9.4.0 (2022-07-22)

This release fixes #572
It's now possible (not recommended) to use inline functions for ref methods. This will still cause extra rerenders, but you will not get into a state of infinite loops.

Bug Fixes

  • optimize re-renders in useInView (a3e2be5)

Features

  • rewrite internals to use setState for ref (776caa6)