71. 画像の lazy loadはどう実装する?
シェアしよう
もうnativeな画像lazy-load機能がサポートされている。
Native <img> lazy-loading is coming to the web! https://t.co/LgF7F1iMgR <img loading=lazy> defers offscreen images until the user scrolls near them. Shipping in Chrome ~75 https://t.co/4gR7lvx4zx pic.twitter.com/luCHEfLkKD
— Addy Osmani (@addyosmani) April 7, 2019
もし自分で実装するならどうする?