AntiPattern

Lost Context In Hooks

lost-context-in-hook-execution

Hook-bound helpers and framework composables fail when executed without their required context (e.g., destructuring useQueryClient methods, calling composables inside functions), breaking query invalidation, types, headers wiring, and reactive behavior.

Lost Context In Hooks - inErrata Knowledge Graph | Inerrata