For AI agents: the complete documentation index is available at https://mfdoctor.kevinbeier.com/llms.txt, the full documentation bundle is available at https://mfdoctor.kevinbeier.com/llms-full.txt, and this page is available as Markdown at https://mfdoctor.kevinbeier.com/rules/bridge/react-version-entry-mismatch.md.

bridge/react-version-entry-mismatch

  • Category: correctness
  • Default severity: error

Issue

Importing @module-federation/bridge-react/v18 against React 19 (or the reverse) selects the wrong Bridge API surface and can fail at runtime.

How to fix it

Align the Bridge entry with the installed React major (/v18 or /v19). Limit majors with reactMajors, or set the rule to "off".

Suppress or retarget with rules["bridge/react-version-entry-mismatch"] set to "off" or a severity — see Suppressions and allowlists.

Sources