DEV Community

Discussion on: Best way to lazy load images for maximum performance

Collapse
 
adrianbdesigns profile image
Adrian Bece

Wow! Thank you very much. Glad you've found it useful. I haven't worked with Web components, I'll have to check them out at some point.

Regarding the 1x1 placeholder, you want an image to have a src set in any moment. I think that either the HTML validator throws an error or something breaks. Either way, it's semantically correct to have something there.

Cheers!

Collapse
 
daviddalbusco profile image
David Dal Busco

Thank you Adrian for the really clear add-ons explanation, it makes sense.

I have to give a try (again) to check how our Web Components handles this scenario, good point.