Skip to content

Commit

Permalink
Stop exposing some internals on FB build (facebook#18011)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Feb 10, 2020
1 parent 517de74 commit ab7b83a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/react-dom/src/client/ReactDOMFB.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
* @flow
*/

import {findCurrentFiberUsingSlowPath} from 'react-reconciler/reflection';
import {getIsHydrating} from 'react-reconciler/src/ReactFiberHydrationContext';
import {get as getInstance} from 'shared/ReactInstanceMap';
import {addUserTimingListener} from 'shared/ReactFeatureFlags';

import ReactDOM from './ReactDOM';
Expand All @@ -23,15 +21,9 @@ Object.assign(
ReactBrowserEventEmitter: {
isEnabled,
},
ReactFiberTreeReflection: {
findCurrentFiberUsingSlowPath,
},
ReactDOMComponentTree: {
getClosestInstanceFromNode,
},
ReactInstanceMap: {
get: getInstance,
},
// Perf experiment
addUserTimingListener,

Expand Down

0 comments on commit ab7b83a

Please sign in to comment.