#Reactjs component that renders children elements when they enter the viewport

  • The option allows you to specify how far below, above, to the left, and to the right of the viewport you want to begin displaying your content.
  • The option allows you to specify how far below the viewport you want to begin displaying your content.
  • The option allows you to specify how far to left of the viewport you want to begin displaying your content.
  • The option allows you to specify how far to the right of the viewport you want to begin displaying your content.
  • By default the throttling function is actually a debounce function so that the checking function is only triggered after a user stops scrolling.

react-lazy-load – React component that renders children elements when they enter the viewport.

@MicheleBertoli: #Reactjs component that renders children elements when they enter the viewport

React Lazy Load is easy to use React component which helps you defer loading content in predictable way. It’s fast, works in IE8+, 6KB minified and uses debounce function by default. You can also use component inside scrolling container, such as div with scrollbar. It will be found automatically. Check out an example.

React Lazy Load requires React 0.14 or later.

‘s value

option allows you to specify how far above and below the viewport you want to begin displaying your content.

‘s value

option allows you to specify how far to the left and right of the viewport you want to begin displaying your contet.

‘s value

option allows you to specify how far above the viewport you want to begin displaying your content.

‘s value

option allows you to specify how far below the viewport you want to begin displaying your content.

‘s value

option allows you to specify how far to left of the viewport you want to begin displaying your content.

‘s value

option allows you to specify how far to the right of the viewport you want to begin displaying your content.

milliseconds.

option allows you to set the element’s height even when it has no content.

option allows you to set the element’s width even when it has no content.

A callback function to execute when the content appears on the screen.

GitHub