()
| 7709 | // unfortunately this is it. |
| 7710 | resetContextStack();nextUnitOfWork=createWorkInProgress$1(highestPriorityRoot.current,highestPriorityLevel);if(highestPriorityRoot!==nextRenderedTree){// We've switched trees. Reset the nested update counter. |
| 7711 | nestedUpdateCount=0;nextRenderedTree=highestPriorityRoot;}return;}nextPriorityLevel=NoWork$2;nextUnitOfWork=null;nextRenderedTree=null;return;}function commitAllHostEffects(){while(nextEffect!==null){{ReactDebugCurrentFiber$3.setCurrentFiber(nextEffect,null);recordEffect();}var effectTag=nextEffect.effectTag;if(effectTag&ContentReset){config.resetTextContent(nextEffect.stateNode);}if(effectTag&Ref){var current=nextEffect.alternate;if(current!==null){commitDetachRef(current);}}// The following switch statement is only concerned about placement, |
| 7712 | // updates, and deletions. To avoid needing to add a case for every |
| 7713 | // possible bitmap value, we remove the secondary effects from the |
| 7714 | // effect tag and switch on that value. |
| 7715 | var primaryEffectTag=effectTag&~(Callback|Err|ContentReset|Ref|PerformedWork);switch(primaryEffectTag){case Placement$1:{commitPlacement(nextEffect);// Clear the "placement" from effect tag so that we know that this is inserted, before |
| 7716 | // any life-cycles like componentDidMount gets called. |
| 7717 | // TODO: findDOMNode doesn't rely on this any more but isMounted |
| 7718 | // does and isMounted is deprecated anyway so we should be able |
| 7719 | // to kill this. |
| 7720 | nextEffect.effectTag&=~Placement$1;break;}case PlacementAndUpdate:{// Placement |
| 7721 | commitPlacement(nextEffect);// Clear the "placement" from effect tag so that we know that this is inserted, before |
| 7722 | // any life-cycles like componentDidMount gets called. |
| 7723 | nextEffect.effectTag&=~Placement$1;// Update |
| 7724 | var _current=nextEffect.alternate;commitWork(_current,nextEffect);break;}case Update:{var _current2=nextEffect.alternate;commitWork(_current2,nextEffect);break;}case Deletion:{isUnmounting=true;commitDeletion(nextEffect);isUnmounting=false;break;}}nextEffect=nextEffect.nextEffect;}{ReactDebugCurrentFiber$3.resetCurrentFiber();}}function commitAllLifeCycles(){while(nextEffect!==null){var effectTag=nextEffect.effectTag;// Use Task priority for lifecycle updates |
| 7725 | if(effectTag&(Update|Callback)){{recordEffect();}var current=nextEffect.alternate;commitLifeCycles(current,nextEffect);}if(effectTag&Ref){{recordEffect();}commitAttachRef(nextEffect);}if(effectTag&Err){{recordEffect();}commitErrorHandling(nextEffect);}var next=nextEffect.nextEffect;// Ensure that we clean these up so that we don't accidentally keep them. |
| 7726 | // I'm not actually sure this matters because we can't reset firstEffect |
| 7727 | // and lastEffect since they're on every node, not just the effectful |
nothing calls this directly
no test coverage detected