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/shared/react-host-missing.md.

shared/react-host-missing

  • Category: correctness
  • Default severity: warning

Issue

A React host that loads remotes without sharing its imported React runtime can create separate React or renderer instances across the federation graph.

How to fix it

Declare imported react and react-dom packages as singleton shared dependencies, for example { singleton: true }, or suppress the rule when the separate runtime is intentional.

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

Sources