Closed AdrianHu99 closed 6 years ago
https://github.com/RevillWeb/img-2
It uses https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API to to detect when an image is in the users visible viewport, and only load images when they are visible to the user.
https://github.com/RevillWeb/img-2