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/router-shared-conflict.md.

bridge/router-shared-conflict

  • Category: correctness
  • Default severity: error

Issue

Bridge router aliases React Router; sharing react-router / react-router-dom at the same time can load duplicate router runtimes and break navigation.

How to fix it

Remove React Router from shared, or disable Bridge router with bridge.enableBridgeRouter: false. Soften with rules["bridge/router-shared-conflict"]: "off" when intentional.

Suppress or retarget with rules["bridge/router-shared-conflict"] set to "off" or a severity — see Suppressions and allowlists.

Sources