React lazy loading images with Intersection Observer
React lazy load images with IntersectionObserver.
``js
import React from 'react';
import Lazy from "react-lazy-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;
``