0.6.0
Features:
- Support preloading for images that use the
srcset
attribute, using thesrcSet
prop - Support leaving
src
unspecified to omit preloading behaviour
Breaking:
- Only the react-intersection-observer props that are relevant are now exposed in the public API. Those are:
{
rootMargin: string;
threshold: number
}
Docs:
- Cleaned up eager loading section
- Added docs and stories for srcset and no preloading
- Added docs for IntersectionObserverProps