mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
|
||||
@@ -10,6 +10,6 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
const {findDOMNode} = require('ReactDOM-fb');
|
||||
const {findDOMNode} = require('ReactDOM');
|
||||
|
||||
module.exports = findDOMNode;
|
||||
|
||||
@@ -7,6 +7,6 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
const ReactDOM = require('ReactDOM-fb');
|
||||
const ReactDOM = require('ReactDOM');
|
||||
|
||||
module.exports = ReactDOM.unstable_renderSubtreeIntoContainer;
|
||||
|
||||
Reference in New Issue
Block a user