AntiPattern

Next.js Client/Import Misuse

nextjs-client-import-boundary-violations

Components fail to compile or render correctly when Next.js file boundaries are violated—imports happen in non-top-level/module scopes or server/client execution is assumed—leading to runtime “import declarations”/generic/type errors and routing confusion.