Skip to content

Commit

Permalink
Renamed "ReactDOM-fb" imports to "ReactDOM" in www shims (#17797)
Browse files Browse the repository at this point in the history
* Renamed "ReactDOM-fb" imports to "ReactDOM" in www shims

* Removed ReactDOMComponentTree_DO_NOT_USE.js
  • Loading branch information
Brian Vaughn authored Jan 7, 2020
1 parent 5e21157 commit 6250462
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion scripts/rollup/shims/facebook-www/findDOMNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@

'use strict';

const {findDOMNode} = require('ReactDOM-fb');
const {findDOMNode} = require('ReactDOM');

module.exports = findDOMNode;
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

'use strict';

const ReactDOM = require('ReactDOM-fb');
const ReactDOM = require('ReactDOM');

module.exports = ReactDOM.unstable_renderSubtreeIntoContainer;

0 comments on commit 6250462

Please sign in to comment.