Modern browsers ship a web API called IntersectionObserver that largely obviates the need for inefficient scroll event listeners. Let's use it to create an infinitely scrolling page using React hooks.
ES6 finally brought iterators and generators to javascript. Recently, I found out how you can nest generators to implement lazy recursion.