Infinite scroll with react.js


Hi, I’m struggling to implement infinite scroll with react.js, I have found a tutorial for that like Infinite Scrolling but unfortunately, that is implemented with blaze template & that’s why I’m struggling too much for converting with react.js because of my project based on react.js.
I want to implement that but how I implement with react.js, please can help me out for this.

This above link is not working sometimes so I have taken a screenshot to see the below