Infinite loop with Hydration Boundary and Next.js 14 App Router
Hey, I'm trying some prefetching with app router but I've got infinite loop error like on the screen. Here is code:
When I comment out
I was following documentation and I don't see obvious error, can someone help me? OrganizationUsersTable is empty component with "use client". I have other client query in the application and it works fine so I assume it's not the problem with my setup or something related to queryClient. OrganizationUsers component is of course page.tsx file in my directory structure.
When I comment out
prefetchQuery part, everything works fine. It seems like HydrationBoundary have some problem with hydrating data. Here are my console.logs:I was following documentation and I don't see obvious error, can someone help me? OrganizationUsersTable is empty component with "use client". I have other client query in the application and it works fine so I assume it's not the problem with my setup or something related to queryClient. OrganizationUsers component is of course page.tsx file in my directory structure.
