(root, recoverableErrors, transitions)
| 26681 | } |
| 26682 | |
| 26683 | function commitRoot(root, recoverableErrors, transitions) { |
| 26684 | // TODO: This no longer makes any sense. We already wrap the mutation and |
| 26685 | // layout phases. Should be able to remove. |
| 26686 | var previousUpdateLanePriority = getCurrentUpdatePriority(); |
| 26687 | var prevTransition = ReactCurrentBatchConfig$3.transition; |
| 26688 | |
| 26689 | try { |
| 26690 | ReactCurrentBatchConfig$3.transition = null; |
| 26691 | setCurrentUpdatePriority(DiscreteEventPriority); |
| 26692 | commitRootImpl(root, recoverableErrors, transitions, previousUpdateLanePriority); |
| 26693 | } finally { |
| 26694 | ReactCurrentBatchConfig$3.transition = prevTransition; |
| 26695 | setCurrentUpdatePriority(previousUpdateLanePriority); |
| 26696 | } |
| 26697 | |
| 26698 | return null; |
| 26699 | } |
| 26700 | |
| 26701 | function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLevel) { |
| 26702 | do { |
no test coverage detected
searching dependent graphs…