High performance and SEO friendly lazy loader for images (responsive and normal), iframes and more, that detects any visibility changes triggered through user interaction, CSS or JavaScript without configuration.
I did not see lazysizes.min.js in Chrome debugger Network tab and all images are loaded immediately. (no lazy load)
I went for JS like approach and add lazysizes.min.js to web page, but it loads all 10 images immediately even those are not in the viewport. All of them marked as class="lazyautosizes ls-is-cached lazyloaded".
Hi, I want to use this amazing library in my React Typescript project. I have added
"lazysizes": "5.3.2"
topackage.json
and in my.tsx
fileimport 'lazysizes';
then:I did not see
lazysizes.min.js
in Chrome debugger Network tab and all images are loaded immediately. (no lazy load)I went for JS like approach and add
lazysizes.min.js
to web page, but it loads all 10 images immediately even those are not in the viewport. All of them marked asclass="lazyautosizes ls-is-cached lazyloaded"
.Would you please help me?