DEV Community

Discussion on: Using requestIdleCallback to create a less janky infinite scroll

Collapse
 
ben profile image
Ben Halpern

Okay! thanks for the heads up. Interestingly I basically did that in the actual implementation, but I thought I was prettying things up before posting this here. I sometimes forget how JavaScript works in this way until I hit the error and fix. πŸ™ƒ

I'll update the code in the piece.