0.6.0
Features:
- Support preloading for images that use the
srcsetattribute, using thesrcSetprop - Support leaving
srcunspecified 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