2 ms·
I'm not talking about browser features, I'm talking about the lazy loading JavaScript libraries that many (most, I'd wager) use.
by WillPostForFood 5y ago
I'm not talking about browser features, I'm talking about the lazy loading JavaScript libraries that many (most, I'd wager) use.
- onli 5y agoThat goes against that specific implementation then, not against the concept, and not against how the feature should be implemented now. I was critical at first as well. But I tested it on the site I linked and on other sites with bigger images, and it just worked that well that I stand to what I said. This feature is a net-positive and in most scenarios the loading will either not be noticeable, or it will be an advantage overall.
- moritzwarhier 5y agoJS lazy loading is a thing of the past. Just because some sites are slow to adopt, that doesn't make it a valid argument against lazy loading per se. Native lazy loading is broadly supported, it works well, has no overhead, and you can override the behaviour if you always want eager loading. There's no point in complaining about it that I am able to grasp. I don't have data on this but I assume that JS lazy loading is dying rapidly because this is not a critical feature that must polyfilled for legacy browsers. Of course, plenty of sites will keep their JS lazy loading cruft until the next code refactoring / optimization. But I am very happy that native lazy loading has been standardized and implemented.