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`.
inst = new Component(element.props, publicContext, updater);
    } else {
      inst = Component(element.props, publicContext, updater);
      if (inst == null || inst.render == null) {
        child = inst;
        validateRenderResult(child, Component);
        continue;
      }
    }
    inst.props = element.props;
    inst.context = publicContext;
    inst.updater = updater;
    initialState = inst.state;
    if (initialState === undefined) {
      inst.state = initialState = null;
    }
    if (inst.componentWillMount) {
      inst.componentWillMount();
      if (queue.length) {
        oldQueue = queue;
        oldReplace = replace;
        queue = null;
        replace = false;
        if (oldReplace && oldQueue.length === 1) {
          inst.state = oldQueue[0];
        } else {
          nextState = oldReplace ? oldQueue[0] : inst.state;
          dontMutate = true;
          for (let i = oldReplace ? 1 : 0; i < oldQueue.length; i++) {
            partial = oldQueue[i];