Fixed an issue where Vite and other build scripts were in the dependencies instead of dev dependencies.
Unclaimed project
Are you a maintainer of react-lazy-load? Claim this project to take control of your public changelog and roadmap.
Changelog
React component that renders children elements when they enter the viewport.
Fixed an issue where Vite and other build scripts were in the dependencies instead of dev dependencies.
Made quite a few improvements with this release
React 17 is a peer dependency. Accepted PR for lodash usage.
It's huge release with accent on performance improvements.
When you update on 3.0.0, you need fix some style selectors (if you have them).
.lazy-load {
}
.lazy-load-visible {
}
.LazyLoad {
}
.LazyLoad.is-visible {
}
threshold is now deprecated. Use offset...
Release 2.0.1