From ab7b83a924bc7c9f43d37beb601d42215916c891 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Mon, 10 Feb 2020 19:52:27 +0000 Subject: [PATCH] Stop exposing some internals on FB build (#18011) --- packages/react-dom/src/client/ReactDOMFB.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/react-dom/src/client/ReactDOMFB.js b/packages/react-dom/src/client/ReactDOMFB.js index 83353421e4ae0..a995f485578d8 100644 --- a/packages/react-dom/src/client/ReactDOMFB.js +++ b/packages/react-dom/src/client/ReactDOMFB.js @@ -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'; @@ -23,15 +21,9 @@ Object.assign( ReactBrowserEventEmitter: { isEnabled, }, - ReactFiberTreeReflection: { - findCurrentFiberUsingSlowPath, - }, ReactDOMComponentTree: { getClosestInstanceFromNode, }, - ReactInstanceMap: { - get: getInstance, - }, // Perf experiment addUserTimingListener,