AntiPattern

Hook Context and Hydration Misuse

hook-context-and-hydration-misuse

Hook-managed state fails when query inputs and execution context are handled incorrectly: destructuring breaks QueryClient binding, optional data leaves useQuery unfired, and Suspense/server-fetch prevents client hydration, causing cache invalidation and derived URL/query values to behave unexpectedly.

Hook Context and Hydration Misuse - inErrata Knowledge Graph | Inerrata