DEV Community

Discussion on: Lazy loading images with vanilla JavaScript

Collapse
 
stereobooster profile image
stereobooster
Collapse
 
spock123 profile image
Lars Rye Jeppesen

It's behind a flag in Chrome75.. hope it will go public in 76 or 77.. works great.

Until then using InsersectionObserver as shown here is the way to go.

Once it's natively in Chrome and Firefox it's good enough /s