Aljullu / react-lazy-load-image-component

React Component to lazy load images and components using a HOC to track window scroll position.
https://www.npmjs.com/package/react-lazy-load-image-component
MIT License
1.44k stars 109 forks source link

Lazy loading in Next.js only possible with dynamic() #103

Open samevision opened 2 years ago

samevision commented 2 years ago

Hello,

currently I try to implement this package into my Next.js project. Unfortunately it is not working as expected.

It seems that lazy loading breaks if I use components that are loaded by nest/dynamic.

Is it a known problem?

Best

adarsh-drishya commented 1 year ago

same issue

mtrabelsi commented 1 year ago

if you use next/image you do not need this package anymore