Renamed "ReactDOM-fb" imports to "ReactDOM" in www shims (#17797)

* Renamed "ReactDOM-fb" imports to "ReactDOM" in www shims

* Removed ReactDOMComponentTree_DO_NOT_USE.js
This commit is contained in:
Brian Vaughn
2020-01-07 13:05:36 -08:00
committed by GitHub
parent 5e21157d86
commit 6250462bed
5 changed files with 4 additions and 19 deletions

View File

@@ -9,7 +9,7 @@
const {
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
} = require('ReactDOM-fb');
} = require('ReactDOM');
module.exports =
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactBrowserEventEmitter;

View File

@@ -1,15 +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.
*/
'use strict';
const {
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
} = require('ReactDOM-fb');
module.exports =
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDOMComponentTree;

View File

@@ -9,7 +9,7 @@
const {
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
} = require('ReactDOM-fb');
} = require('ReactDOM');
module.exports =
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactInstanceMap;

View File

@@ -10,6 +10,6 @@
'use strict';
const {findDOMNode} = require('ReactDOM-fb');
const {findDOMNode} = require('ReactDOM');
module.exports = findDOMNode;

View File

@@ -7,6 +7,6 @@
'use strict';
const ReactDOM = require('ReactDOM-fb');
const ReactDOM = require('ReactDOM');
module.exports = ReactDOM.unstable_renderSubtreeIntoContainer;