Since they currently share the injection, server renderer includes a lot of unnecessary client-only code. We should cut it out.
container: DOMContainer,
    key: ?string = null,
  ) {
    
    return ReactPortal.createPortal(children, container, null, key);
  },
  unstable_batchedUpdates: ReactGenericBatching.batchedUpdates,
  unstable_deferredUpdates: DOMRenderer.deferredUpdates,
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {
    
    EventPluginHub: require('EventPluginHub'),
    
    EventPluginRegistry: require('EventPluginRegistry'),
    EventPropagators: require('EventPropagators'),
    ReactControlledComponent,
    ReactDOMComponentTree,
    ReactDOMEventListener: require('ReactDOMEventListener'),
  },
};
if (typeof injectInternals === 'function') {
  injectInternals({
    findFiberByHostInstance: ReactDOMComponentTree.getClosestInstanceFromNode,
    findHostInstanceByFiber: DOMRenderer.findHostInstance,
    
    bundleType: __DEV__ ? 1 : 0,
    version: ReactVersion,
  });
}
module.exports = ReactDOMFiber;