@igordvoretskov/lazy-component
v0.0.2
Published
Wrapper for React. Lazy loading components using Intersection observer
Downloads
6
Maintainers
Readme
React Lazy Component
Wrapper for React. Lazy loading components using Intersection observer
Usage
import {LazyComponent} from '@igordvoretskov/lazy-component'
<LazyComponent>
<img src={"https://site.com/example.png"} />
</LazyComponent>