Layzr v2.0.0 (ES6 Rewrite) - A small, fast, and modern library for lazy loading images. (callmecavs.github.io)
over 7 years ago from Michael Cavalea, Frontend
over 7 years ago from Michael Cavalea, Frontend
isn't https://github.com/aFarkas/lazysizes superior to this library?
Personally, I'm not in the business of comparing my code to others, and making a blanket statement as to which is "superior."
What I will say is that the source for that library is 681 lines, compared to the 121 lines of Layzr. Based on that statistic alone, I would hope it can do something that Layzr doesn't, and I would assume it has a much larger scope - in terms of the elements it lazy loads, how much happens "automagically," etc.
I'm a firm believer in that what is "superior" is determined by the use case. The use cases here are certainly different, and so I don't think we're comparing apples to apples.
It's nice. I really like Layzr.
If someone wants to state that something is more "superior" than another thing it sure needs a proof. I think Layzr is really awesome, because of the file size compared to feature set, but lazysizes also supports iframe and scripts. If you need both, you should go with lazysizes, but why using lazysizes when not using lazyloading for iframe's and scripts?
So I think it's on the same level and not comparable with each other. Same thing with Angular.js and React.js...
when the best gets better
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
Login to Comment
You'll need to log in before you can leave a comment.
LoginRegister Today
New accounts can leave comments immediately, and gain full permissions after one week.
Register now