I am having trouble doing the lazy load on an array of images. It seems to just load my whole array at first instead of it one by one.
const gallery = images.map((obj, i) => {
return (
<LazyLoad>
<img src={obj.thumbnail} />
</LazyLoad>
);
});
Is there a way to resolve my issue?
I am having trouble doing the lazy load on an array of images. It seems to just load my whole array at first instead of it one by one.
Is there a way to resolve my issue?