react-lazy-component

1.2.1 • Public • Published

React Lazy Component

A display-component wrapper that delays its until element is in view the viewport.

Includes <noscript> support for server-side rendering.

import Lazify from 'react-lazy-component';

<Lazy onLoad={yourFunction}>
    <img src="/path/to/big-o-image.png">
</Lazy>

Readme

Keywords

Package Sidebar

Install

npm i react-lazy-component

Weekly Downloads

1

Version

1.2.1

License

MIT

Last publish

Collaborators

  • tuxsudo