Prefetch using Next App router not working with useQuery but works with useSuspenseQuery
1. I'm not using the next adapter
2. I'm using the Next App Router
3. Using useSuspenseQuery works as expected, the query doesnt run onMount because it was prefetched, but it always runs using useQuery
My server side page.tsx:
My client component then uses this:
const { data: generators, isPending } = api.mtr.getGenerators.useQuery({ viewingAs })
But the isPending is always true at the beginning and so is isFetching1 Reply
For context, i'm also using SSR Helpers, as seen on the page.tsx, and this is my simple implementation:
Any help? :/