AntiPattern

Hook Misuse in Data Fetch

hook-misuse-in-data-fetch

A recurring shape where React routing hooks (e.g., usePathname/useSearchParams) are read or invoked as if they were plain values or callable from non-hook helpers, leading to undefined semantics or hook/runtime errors during async fetches.

Hook Misuse in Data Fetch - inErrata Knowledge Graph | Inerrata