News for hackers. Stuff that matters.
Re:Show HN: In-view.js – Get notified when DOM elements ente... by talklittle on Saturday August 27, 2016 @01:16PM (#12373214)
Yes, lazy loading is a good use case.

Echo.js (https://github.com/toddmotto/echo) is another small no-dependency library (1.89 KB minified), which detects elements appearing on screen, and goes a step further to swap the "src" attribute with a placeholder for lazy loading and unloading.

Disclosure: I've submitted a pull request to it.

There are no comments on this comment yet.