(flags, finishedWork)
| 10981 | callCallback(callbacks[updateQueue], context); |
| 10982 | } |
| 10983 | function commitHookEffectListMount(flags, finishedWork) { |
| 10984 | try { |
| 10985 | var updateQueue = finishedWork.updateQueue, |
| 10986 | lastEffect = null !== updateQueue ? updateQueue.lastEffect : null; |
| 10987 | if (null !== lastEffect) { |
| 10988 | var firstEffect = lastEffect.next; |
| 10989 | updateQueue = firstEffect; |
| 10990 | do { |
| 10991 | if ((updateQueue.tag & flags) === flags) { |
| 10992 | lastEffect = void 0; |
| 10993 | var create = updateQueue.create, |
| 10994 | inst = updateQueue.inst; |
| 10995 | lastEffect = create(); |
| 10996 | inst.destroy = lastEffect; |
| 10997 | } |
| 10998 | updateQueue = updateQueue.next; |
| 10999 | } while (updateQueue !== firstEffect); |
| 11000 | } |
| 11001 | } catch (error) { |
| 11002 | captureCommitPhaseError(finishedWork, finishedWork.return, error); |
| 11003 | } |
| 11004 | } |
| 11005 | function commitHookEffectListUnmount( |
| 11006 | flags, |
| 11007 | finishedWork, |
no test coverage detected
searching dependent graphs…