DEV Community

Yosbel Marín
Yosbel Marín

Posted on

React Progressive Loader

Defer the load of non-critical images and components if they are off-screen.

This library makes possible to progressively load images, just like Medium does, and React components only when the user is ready to consume the content. Additionaly, take component based code splitting for free. Two at the price of one.

Get it while still hot https://github.com/yosbelms/react-progressive-loader

Top comments (4)

Collapse
 
dance2die profile image
Sung M. Kim

That library seems to make deferring image loading quite easy.

Would you have a plan to create a demo for it to illustrate how using it makes a difference?

Collapse
 
yosbelms profile image
Yosbel Marín

Sure, it will be available soon

Collapse
 
bthntprlk profile image
batu

Nice work

have you used any polyfill for Intersection Observer API for cross-browser compatability? It’d be great

Collapse
 
yosbelms profile image
Yosbel Marín

There is a link to a polyfill in the end of the readme, you need to include it manually for old browsers compatibility. Here the link github.com/w3c/IntersectionObserve...