Same as https://github.com/facebook/react/issues/10103, but for the server renderer. You can look at implementation in https://github.com/facebook/react/pull/11168 and do something very similar in `ReactPartialRenderer.js`.
warnedAboutStatelessRefs = {};
}
export default function<T, P, I, TI, HI, PI, C, CC, CX, PL>(
  config: HostConfig<T, P, I, TI, HI, PI, C, CC, CX, PL>,
  hostContext: HostContext<C, CX>,
  hydrationContext: HydrationContext<C, CX>,
  scheduleWork: (fiber: Fiber, expirationTime: ExpirationTime) => void,
  computeExpirationForFiber: (fiber: Fiber) => ExpirationTime,
) {
  const {shouldSetTextContent, shouldDeprioritizeSubtree} = config;
  const {pushHostContext, pushHostContainer} = hostContext;
  const {
    enterHydrationState,
    resetHydrationState,
    tryToClaimNextHydratableInstance,
  } = hydrationContext;
  const {
    adoptClassInstance,
    constructClassInstance,
    mountClassInstance,
    
    updateClassInstance,
  } = ReactFiberClassComponent(
    scheduleWork,
    computeExpirationForFiber,
    memoizeProps,
    memoizeState,
  );
  
  function reconcileChildren(current, workInProgress, nextChildren) {