Releases: thebuilder/react-intersection-observer
Releases · thebuilder/react-intersection-observer
v9.4.4
9.4.4 (2023-06-01)
Bug Fixes
- correct the error message that happens if IntersectionObserver is not mocked (f7da436)
v9.4.3
9.4.3 (2023-02-23)
Bug Fixes
- restrict type on the "as" prop (048bcb0)
v9.4.2
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
9.4.1 (2022-11-15)
Bug Fixes
- add spacing to peer deps (1187726)
- cannot access 'unobserve' before initialization #587 (3c2f4a1)
v9.4.0
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)
v9.3.5
9.3.5 (2022-06-30)
Bug Fixes
- Add support for TS 4.7+ node16/next module (a0c099b)
v9.3.4
9.3.4 (2022-06-23)
Bug Fixes
v9.3.4-beta.1
Bug Fixes
- add esm as fallback module (57da6c3)