diff --git a/packages/react/src/React.js b/packages/react/src/React.js index fc718d8c9a..9c34f74d1f 100644 --- a/packages/react/src/React.js +++ b/packages/react/src/React.js @@ -57,6 +57,9 @@ if (__DEV__) { Object.assign(React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, { // These should not be included in production. ReactDebugCurrentFrame: require('./ReactDebugCurrentFrame'), + // Shim for React DOM 16.0.0 which still destructured (but not used) this. + // TODO: remove in React 17.0. + ReactComponentTreeHook: {}, }); }