0.0.2 • Published 7 months ago
@igordvoretskov/lazy-component v0.0.2
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>