( current, workInProgress, Component, nextProps, renderLanes )
| 9137 | } |
| 9138 | } |
| 9139 | function updateFunctionComponent( |
| 9140 | current, |
| 9141 | workInProgress, |
| 9142 | Component, |
| 9143 | nextProps, |
| 9144 | renderLanes |
| 9145 | ) { |
| 9146 | prepareToReadContext(workInProgress); |
| 9147 | Component = renderWithHooks( |
| 9148 | current, |
| 9149 | workInProgress, |
| 9150 | Component, |
| 9151 | nextProps, |
| 9152 | void 0, |
| 9153 | renderLanes |
| 9154 | ); |
| 9155 | nextProps = checkDidRenderIdHook(); |
| 9156 | if (null !== current && !didReceiveUpdate) |
| 9157 | return ( |
| 9158 | bailoutHooks(current, workInProgress, renderLanes), |
| 9159 | bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) |
| 9160 | ); |
| 9161 | isHydrating && nextProps && pushMaterializedTreeId(workInProgress); |
| 9162 | workInProgress.flags |= 1; |
| 9163 | reconcileChildren(current, workInProgress, Component, renderLanes); |
| 9164 | return workInProgress.child; |
| 9165 | } |
| 9166 | function replayFunctionComponent( |
| 9167 | current, |
| 9168 | workInProgress, |
no test coverage detected
searching dependent graphs…