diff --git a/packages/react-devtools-shell/src/app/Iframe/index.js b/packages/react-devtools-shell/src/app/Iframe/index.js index 56f09aa2c9058..d22c33f2d9efa 100644 --- a/packages/react-devtools-shell/src/app/Iframe/index.js +++ b/packages/react-devtools-shell/src/app/Iframe/index.js @@ -2,7 +2,7 @@ import * as React from 'react'; import {Fragment} from 'react'; -import ReactDOM from 'react-dom'; +import * as ReactDOM from 'react-dom'; export default function Iframe() { return ( diff --git a/packages/react-dom/src/client/ReactDOMFB.js b/packages/react-dom/src/client/ReactDOMFB.js index 02403919e77dd..743bce3f47bc6 100644 --- a/packages/react-dom/src/client/ReactDOMFB.js +++ b/packages/react-dom/src/client/ReactDOMFB.js @@ -9,7 +9,7 @@ import {addUserTimingListener} from 'shared/ReactFeatureFlags'; -import ReactDOM from './ReactDOM'; +import * as ReactDOM from './ReactDOM'; import {isEnabled} from '../events/ReactDOMEventListener'; import {getClosestInstanceFromNode} from './ReactDOMComponentTree'; diff --git a/packages/react-dom/src/test-utils/ReactTestUtils.js b/packages/react-dom/src/test-utils/ReactTestUtils.js index b6cd42a565f7d..5ac2948c1c36b 100644 --- a/packages/react-dom/src/test-utils/ReactTestUtils.js +++ b/packages/react-dom/src/test-utils/ReactTestUtils.js @@ -6,7 +6,7 @@ */ import * as React from 'react'; -import ReactDOM from 'react-dom'; +import * as ReactDOM from 'react-dom'; import {findCurrentFiberUsingSlowPath} from 'react-reconciler/reflection'; import {get as getInstance} from 'shared/ReactInstanceMap'; import { diff --git a/packages/react-dom/src/test-utils/ReactTestUtilsAct.js b/packages/react-dom/src/test-utils/ReactTestUtilsAct.js index 7aa5b916820de..cdf387cc1ce75 100644 --- a/packages/react-dom/src/test-utils/ReactTestUtilsAct.js +++ b/packages/react-dom/src/test-utils/ReactTestUtilsAct.js @@ -9,7 +9,7 @@ import type {Thenable} from 'react-reconciler/src/ReactFiberWorkLoop'; -import ReactDOM from 'react-dom'; +import * as ReactDOM from 'react-dom'; import ReactSharedInternals from 'shared/ReactSharedInternals'; import enqueueTask from 'shared/enqueueTask'; import * as Scheduler from 'scheduler'; diff --git a/packages/react-dom/src/unstable-native-dependencies/ReactDOMUnstableNativeDependencies.js b/packages/react-dom/src/unstable-native-dependencies/ReactDOMUnstableNativeDependencies.js index 26b8f728cd804..622819940bd28 100644 --- a/packages/react-dom/src/unstable-native-dependencies/ReactDOMUnstableNativeDependencies.js +++ b/packages/react-dom/src/unstable-native-dependencies/ReactDOMUnstableNativeDependencies.js @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -import ReactDOM from 'react-dom'; +import * as ReactDOM from 'react-dom'; import {setComponentTree} from 'legacy-events/EventPluginUtils'; import ResponderEventPlugin from 'legacy-events/ResponderEventPlugin'; import ResponderTouchHistoryStore from 'legacy-events/ResponderTouchHistoryStore';