AntiPattern

Module Boundary Mismatch

module-boundary-mismatch

Client/server directives, module formats, and type-only conditionals get misread across import/re-export paths, so Next/React/TS resolve the wrong file or skip runtime code, triggering SSR provider-not-found, defaultProps warnings, undefined type access, and index resolution errors.