Next.js Discord

Discord Forum

Loading More Posts

Pond loach posted this in #help-forum
Open in Discord
Pond loachOP
I have built a headless wordpress site in next js, and have used this piece of code 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. 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