Skip to content

Commit

Permalink
Stop exposing ReactDOMComponentTree from FB builds (#18338)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Mar 18, 2020
1 parent d3368be commit 1cf4a17
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/react-dom/index.classic.fb.js
Expand Up @@ -9,7 +9,6 @@

import {addUserTimingListener} from 'shared/ReactFeatureFlags';
import {isEnabled} from './src/events/ReactDOMEventListener';
import {getClosestInstanceFromNode} from './src/client/ReactDOMComponentTree';

import {__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED} from './src/client/ReactDOM';

Expand All @@ -18,9 +17,6 @@ Object.assign((__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: any), {
ReactBrowserEventEmitter: {
isEnabled,
},
ReactDOMComponentTree: {
getClosestInstanceFromNode,
},
// Perf experiment
addUserTimingListener,
});
Expand Down

0 comments on commit 1cf4a17

Please sign in to comment.