shared/prefix-share-recommended
- Category: performance
- Default severity: info
Issue
Observed react/... or react-dom/... imports are not covered by the root shared key, so framework subpaths can bypass shared-scope negotiation and create duplicate renderer/runtime modules. Bridge projects use the focused bridge/react-dom-prefix-missing contract instead of this nudge.
How to fix it
Add "react/" / "react-dom/" to shared, or add only the exact observed subpaths. Turn rules["shared/prefix-share-recommended"] off or baseline the fingerprint when the import boundary is intentional.
Suppress or retarget with rules["shared/prefix-share-recommended"] set to "off" or a severity — see Suppressions and allowlists.