MCPcopy Index your code
hub / github.com/caseywebdev/react-list / reappearLayoutEffects

Function reappearLayoutEffects

docs/index.js:31152–31273  ·  view source on GitHub ↗
(
      finishedRoot,
      current,
      finishedWork,
      includeWorkInProgressEffects
    )

Source from the content-addressed store, hash-verified

31150 (parentFiber = parentFiber.sibling);
31151 }
31152 function reappearLayoutEffects(
31153 finishedRoot,
31154 current,
31155 finishedWork,
31156 includeWorkInProgressEffects
31157 ) {
31158 var flags = finishedWork.flags;
31159 switch (finishedWork.tag) {
31160 case 0:
31161 case 11:
31162 case 15:
31163 recursivelyTraverseReappearLayoutEffects(
31164 finishedRoot,
31165 finishedWork,
31166 includeWorkInProgressEffects
31167 );
31168 commitHookLayoutEffects(finishedWork, Layout);
31169 break;
31170 case 1:
31171 recursivelyTraverseReappearLayoutEffects(
31172 finishedRoot,
31173 finishedWork,
31174 includeWorkInProgressEffects
31175 );
31176 current = finishedWork.stateNode;
31177 "function" === typeof current.componentDidMount &&
31178 runWithFiberInDEV(
31179 finishedWork,
31180 callComponentDidMountInDEV,
31181 finishedWork,
31182 current
31183 );
31184 current = finishedWork.updateQueue;
31185 if (null !== current) {
31186 finishedRoot = finishedWork.stateNode;
31187 try {
31188 runWithFiberInDEV(
31189 finishedWork,
31190 commitHiddenCallbacks,
31191 current,
31192 finishedRoot
31193 );
31194 } catch (error) {
31195 captureCommitPhaseError(finishedWork, finishedWork.return, error);
31196 }
31197 }
31198 includeWorkInProgressEffects &&
31199 flags & 64 &&
31200 commitClassCallbacks(finishedWork);
31201 safelyAttachRef(finishedWork, finishedWork.return);
31202 break;
31203 case 26:
31204 case 27:
31205 case 5:
31206 recursivelyTraverseReappearLayoutEffects(
31207 finishedRoot,
31208 finishedWork,
31209 includeWorkInProgressEffects

Calls 10

commitHookLayoutEffectsFunction · 0.85
runWithFiberInDEVFunction · 0.85
captureCommitPhaseErrorFunction · 0.85
commitClassCallbacksFunction · 0.85
safelyAttachRefFunction · 0.85
commitHostMountFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…