(fiber, queue, action)
| 8134 | } |
| 8135 | } |
| 8136 | function dispatchReducerAction(fiber, queue, action) { |
| 8137 | var lane = requestUpdateLane(); |
| 8138 | action = { |
| 8139 | lane: lane, |
| 8140 | revertLane: 0, |
| 8141 | action: action, |
| 8142 | hasEagerState: !1, |
| 8143 | eagerState: null, |
| 8144 | next: null |
| 8145 | }; |
| 8146 | isRenderPhaseUpdate(fiber) |
| 8147 | ? enqueueRenderPhaseUpdate(queue, action) |
| 8148 | : ((action = enqueueConcurrentHookUpdate(fiber, queue, action, lane)), |
| 8149 | null !== action && |
| 8150 | (scheduleUpdateOnFiber(action, fiber, lane), |
| 8151 | entangleTransitionUpdate(action, queue, lane))); |
| 8152 | } |
| 8153 | function dispatchSetState(fiber, queue, action) { |
| 8154 | var lane = requestUpdateLane(); |
| 8155 | dispatchSetStateInternal(fiber, queue, action, lane); |
nothing calls this directly
no test coverage detected
searching dependent graphs…