Releases: loktar00/react-lazy-load
Releases · loktar00/react-lazy-load
4.0.1 Minor bugfix to dependencies
v4.0.0 React 18 and Typescript support
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
React 17 is a peer dependency.
Accepted PR for lodash usage.
3.0.0
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
2.0.1
2.0.0
Breaking Changes
React 0.14 is now required and a peer dependency
If you need 0.13 support, keep using 1.0.x.