Using requestIdleCallback to create a less janky infinite scroll
The API will schedule work when there is free time at the end of a frame, or when the user is inactive.
Tags: webdev, browsers, webperf, meta