Loading More Posts
Unanswered
Pond loach posted this in #help-forum
Pond loachOP
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?
1 Reply
Pond loachOP
this is the wrapper component around it that sticks the apollo provider