I have built a headless wordpress site in next js, and have used this piece of code https://dev.to/franadev/pagination-in-headless-wordpress-with-wpgraphql-apollo-nextjs-3n3e to build a lazy load system, I can see that its pulling through the data in the network tab, but in the front end nothing is happening and the button just sits on loading, I had to do some edits to this file to get it working with an apollo provider tag etc. https://pastebin.com/rUeXr2DS is the component ive made, is there something im missing to get that content to show?
In this article, I will discuss how WPGraphQL does cursor-based pagination in headless WordPress...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.