Skip to content

Releases: loktar00/react-lazy-load

4.0.1 Minor bugfix to dependencies

01 Sep 20:40
03aa118
Compare
Choose a tag to compare

Fixed an issue where Vite and other build scripts were in the dependencies instead of dev dependencies.

v4.0.0 React 18 and Typescript support

29 Aug 02:48
bcae876
Compare
Choose a tag to compare

Made quite a few improvements with this release

  • Upgraded to use intersection observer
  • Updated for use with React 18
  • No external dependencies required
  • Added Typescript
  • Updated build to Vite

Minor PR updates

15 Jul 00:28
392ef54
Compare
Choose a tag to compare

React 17 is a peer dependency.
Accepted PR for lodash usage.

3.0.0

23 Jan 18:28
Compare
Choose a tag to compare

It's huge release with accent on performance improvements.

Breaking Changes

Changed names for the component

When you update on 3.0.0, you need fix some style selectors (if you have them).

Before

.lazy-load {
}
.lazy-load-visible {
}

After

.LazyLoad {
}
.LazyLoad.is-visible {
}

"threshold" deprecation

threshold is now deprecated. Use offset instead.

2.0.1

24 Nov 10:45
Compare
Choose a tag to compare
2.0.1

2.0.0

08 Nov 10:57
Compare
Choose a tag to compare

Breaking Changes

React 0.14 is now required and a peer dependency

If you need 0.13 support, keep using 1.0.x.