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

bridge/react-dom-prefix-missing

  • Category: correctness
  • Default severity: error

Issue

Bridge React v18/v19 needs react-dom/ (or react-dom/client) in shared so renderer subpaths negotiate one copy across host and remote.

How to fix it

Add 'react-dom/': { singleton: true, ... } (or react-dom/client) to shared. Disable with requireReactDomPrefix: false or rules["bridge/react-dom-prefix-missing"]: "off" when intentional.

Suppress or retarget with rules["bridge/react-dom-prefix-missing"] set to "off" or a severity — see Suppressions and allowlists.

Sources