AntiPattern
ES Module Import Confusion
es-module-import-semantics-mismatch
Incorrect assumptions about ES module semantics and function parameter handling cause mismatched exports/imports and unintended shared arguments, so bundlers and hooks (e.g., useQuery) behave unexpectedly and React/Next warning surfaces appear unclear.