Skip to content

Commit 6250462

Browse files
author
Brian Vaughn
authored
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
1 parent 5e21157 commit 6250462

File tree

5 files changed

+4
-19
lines changed

5 files changed

+4
-19
lines changed

scripts/rollup/shims/facebook-www/ReactBrowserEventEmitter_DO_NOT_USE.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
const {
1111
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
12-
} = require('ReactDOM-fb');
12+
} = require('ReactDOM');
1313

1414
module.exports =
1515
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactBrowserEventEmitter;

scripts/rollup/shims/facebook-www/ReactDOMComponentTree_DO_NOT_USE.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

scripts/rollup/shims/facebook-www/ReactInstanceMap_DO_NOT_USE.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
const {
1111
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
12-
} = require('ReactDOM-fb');
12+
} = require('ReactDOM');
1313

1414
module.exports =
1515
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactInstanceMap;

scripts/rollup/shims/facebook-www/findDOMNode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010

1111
'use strict';
1212

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

1515
module.exports = findDOMNode;

scripts/rollup/shims/facebook-www/renderSubtreeIntoContainer_DO_NOT_USE.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77

88
'use strict';
99

10-
const ReactDOM = require('ReactDOM-fb');
10+
const ReactDOM = require('ReactDOM');
1111

1212
module.exports = ReactDOM.unstable_renderSubtreeIntoContainer;

0 commit comments

Comments
 (0)