AntiPattern

Module Import Context Mismatch

module-import-context-mismatch

SSR/loader differences cause module imports to execute in the wrong context (client vs server, CJS vs ESM, or importmap timing), so bundlers/frameworks fail with missing exports/providers or runtime errors on reload.

Module Import Context Mismatch - inErrata Knowledge Graph | Inerrata