React Lazy Load Image Component Versions Save

React Component to lazy load images and components using a HOC to track window scroll position.

1.6.0

11 months ago
  • Fix passing onLoad overwrites, and call onLoad inside onImageLoad (#120, thanks @johnsonsu).

1.5.6

1 year ago
  • Handle case where the placeholder component might not be visible to avoid triggering an error (#115, thanks @crisboarna).

1.5.5

1 year ago
  • Fix SSR Warning in React 18: Prop style did not match (#104, thanks @zakharovmikhail).

1.5.4

2 years ago
  • Support for React 18 (#100, thanks @jussikinnula)

1.5.3

2 years ago
  • Fix Jest warning in trackWindowScroll() (#97, thanks @TimLehner).
  • Optimize getScrollElement() (b02d1e1e381047eafc9fa373f138cabed746b1de).
  • Update dependencies (7559469b57721f24768fc49fab023a1ae9f09a38).
  • Enforce strict equalities (5ba7fe77b16ff465ea525c1d20ca40e475ddc083).

1.5.2

2 years ago

1.5.1

3 years ago
  • Support for React 17 (#84, thanks @ebual)

1.5.0

3 years ago

Features

  • New prop wrapperProps that allows passing props directly to the wrapper <span> created to render placeholder or effects (#70, thanks @johnstonbl01).
  • Reuse the same IntersectionObserver for all components to improve performance (#71, thanks @fmmoret).

Fixes

  • background-image property removed from the opacity effect (#72).

1.5.0-beta.0

3 years ago

1.4.3

4 years ago

Fixes

  • Prevent errors when trying to unobserve a non-existing observer.