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)
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?
Sure, it will be available soon
Nice work
have you used any polyfill for Intersection Observer API for cross-browser compatability? It’d be great
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...