4 comments

  • Eike ThiesEike Thies, over 7 years ago

    isn't https://github.com/aFarkas/lazysizes superior to this library?

    0 points
    • , over 7 years ago (edited over 7 years ago )

      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.

      7 points
      • Dominik SchmidtDominik Schmidt, over 7 years ago

        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...

        0 points
  • Blake RutledgeBlake Rutledge, over 7 years ago

    when the best gets better

    0 points