`useInfiniteQuery` stalls at 'pending' status in NextJS App
Hi everyone, I've been trying to get a custom hook to work for a while now. The hooks is just a wrapper around
Here's what I'm currently trying:
I commented out the bit of code I wanted to work and just mocked the response from the call, but even so, the status of the request remains 'pending' (on the browser) forever.
The app is a NextJS App (v14.0.4) w/ app router
useInfiniteQuery which helps me get some data which I want to render out on the screen.Here's what I'm currently trying:
I commented out the bit of code I wanted to work and just mocked the response from the call, but even so, the status of the request remains 'pending' (on the browser) forever.
The app is a NextJS App (v14.0.4) w/ app router
