diff --git a/packages/react-dom/src/client/ReactDOM.js b/packages/react-dom/src/client/ReactDOM.js index aeeb5b3070639..9223c52fb027c 100644 --- a/packages/react-dom/src/client/ReactDOM.js +++ b/packages/react-dom/src/client/ReactDOM.js @@ -10,7 +10,6 @@ import type {ReactNodeList} from 'shared/ReactTypes'; import type {Container} from './ReactDOMHostConfig'; -import '../shared/checkReact'; import { findDOMNode, render, diff --git a/packages/react-dom/src/shared/checkReact.js b/packages/react-dom/src/shared/checkReact.js deleted file mode 100644 index 860628b81fb71..0000000000000 --- a/packages/react-dom/src/shared/checkReact.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - * @flow - */ - -import * as React from 'react'; -import invariant from 'shared/invariant'; - -invariant( - React, - 'ReactDOM was loaded before React. Make sure you load ' + - 'the React package before loading ReactDOM.', -);