Got this debugging another error. Filing here for reference. Original code: https://phabricator.intern.facebook.com/P59317705
config,
    hostContext,
    legacyContext,
    newContext,
    hydrationContext,
  );
  const {
    throwException,
    unwindWork,
    unwindInterruptedWork,
  } = ReactFiberUnwindWork(
    hostContext,
    legacyContext,
    newContext,
    scheduleWork,
    isAlreadyFailedLegacyErrorBoundary,
  );
  const {
    commitBeforeMutationLifeCycles,
    commitResetTextContent,
    commitPlacement,
    commitDeletion,
    commitWork,
    commitLifeCycles,
    commitErrorLogging,
    commitAttachRef,
    commitDetachRef,
  } = ReactFiberCommitWork(
    config,
    onCommitPhaseError,