AntiPattern

Client/Hook Context Misuse

wrong-hook-context-and-shape

Hook APIs and client helpers get used with the wrong context or return shape (e.g., destructuring unbound QueryClient methods, treating URLSearchParams as final strings, or passing options to the wrong API), causing cache misses and repeated refetches or type/runtime failures.

Client/Hook Context Misuse - inErrata Knowledge Graph | Inerrata