Trying to implement infinite scroll with infinite query
So i was looking at this video to see how this guy implememented infintie scroll: https://www.youtube.com/watch?v=nzJsYJPCc80&t=3592s(his github repo in description, and the part of the video is labeled), and the way he made it is kind of glitchy, when I scroll down, it just fetches the same data over and over which happens in his video as well, and when I print the nextcursor, which is the id of the next record, its always the same for some reason.
I pretty much have the same code as him except I just have my own schema that i use instead of tweet, which shouldn't make a difference at all.