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`.
workInProgress,
        current.child,
        nextChildren,
        renderExpirationTime,
      );
    }
  }
  function updateFragment(current, workInProgress) {
    const nextChildren = workInProgress.pendingProps;
    if (hasContextChanged()) {
      
      
    } else if (
      nextChildren === null ||
      workInProgress.memoizedProps === nextChildren
    ) {
      return bailoutOnAlreadyFinishedWork(current, workInProgress);
    }
    reconcileChildren(current, workInProgress, nextChildren);
    memoizeProps(workInProgress, nextChildren);
    return workInProgress.child;
  }
  function markRef(current: Fiber | null, workInProgress: Fiber) {
    const ref = workInProgress.ref;
    if (ref !== null && (!current || current.ref !== ref)) {
      
      workInProgress.effectTag |= Ref;
    }
  }
  function updateFunctionalComponent(current, workInProgress) {