An open API service indexing awesome lists of open source software.

https://github.com/trendyol/react-intersection-images

React lazy load images with IntersectionObserver.
https://github.com/trendyol/react-intersection-images

Last synced: 7 months ago
JSON representation

React lazy load images with IntersectionObserver.

Awesome Lists containing this project

README

          

# React Lazy Images

React lazy load images with IntersectionObserver.

## Usage

```js
import React from 'react';
import Lazy from "react-intersection-images"

const App = () => {
const placeholder = "https://picsum.photos/id/237/500/300"

const generateImg = () => `https://picsum.photos/id/${Math.floor(Math.random() * 999)}/500/300`

return (









);
}

export default App;

```