( current, workInProgress, Component, nextProps, renderLanes )
| 8925 | ); |
| 8926 | } |
| 8927 | function updateForwardRef( |
| 8928 | current, |
| 8929 | workInProgress, |
| 8930 | Component, |
| 8931 | nextProps, |
| 8932 | renderLanes |
| 8933 | ) { |
| 8934 | Component = Component.render; |
| 8935 | var ref = workInProgress.ref; |
| 8936 | if ("ref" in nextProps) { |
| 8937 | var propsWithoutRef = {}; |
| 8938 | for (var key in nextProps) |
| 8939 | "ref" !== key && (propsWithoutRef[key] = nextProps[key]); |
| 8940 | } else propsWithoutRef = nextProps; |
| 8941 | prepareToReadContext(workInProgress); |
| 8942 | nextProps = renderWithHooks( |
| 8943 | current, |
| 8944 | workInProgress, |
| 8945 | Component, |
| 8946 | propsWithoutRef, |
| 8947 | ref, |
| 8948 | renderLanes |
| 8949 | ); |
| 8950 | key = checkDidRenderIdHook(); |
| 8951 | if (null !== current && !didReceiveUpdate) |
| 8952 | return ( |
| 8953 | bailoutHooks(current, workInProgress, renderLanes), |
| 8954 | bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) |
| 8955 | ); |
| 8956 | isHydrating && key && pushMaterializedTreeId(workInProgress); |
| 8957 | workInProgress.flags |= 1; |
| 8958 | reconcileChildren(current, workInProgress, nextProps, renderLanes); |
| 8959 | return workInProgress.child; |
| 8960 | } |
| 8961 | function updateMemoComponent( |
| 8962 | current, |
| 8963 | workInProgress, |
no test coverage detected
searching dependent graphs…