I tried researching a lot but unable to find a proper to implement the same. Can anyone suggest ma how can I achieve this with Prismic queries?
Thanks for contacting us, unfortunately we don’t have an example of an infinite scrolling, but there are many 3d party libraries for reactjs or nuxtjs that does that.
Your Prismic query should be fairly strait-forward just like fetching documents and pagination, you can read more about pagination in reactjs in this article.
Please let us know if you have any other questions.