(current, workInProgress)
| 18057 | var reconcileChildFibers = ChildReconciler(true); |
| 18058 | var mountChildFibers = ChildReconciler(false); |
| 18059 | function cloneChildFibers(current, workInProgress) { |
| 18060 | if (!(current === null || workInProgress.child === current.child)) { |
| 18061 | { |
| 18062 | throw Error( "Resuming work not yet implemented." ); |
| 18063 | } |
| 18064 | } |
| 18065 | |
| 18066 | if (workInProgress.child === null) { |
| 18067 | return; |
| 18068 | } |
| 18069 | |
| 18070 | var currentChild = workInProgress.child; |
| 18071 | var newChild = createWorkInProgress(currentChild, currentChild.pendingProps); |
| 18072 | workInProgress.child = newChild; |
| 18073 | newChild.return = workInProgress; |
| 18074 | |
| 18075 | while (currentChild.sibling !== null) { |
| 18076 | currentChild = currentChild.sibling; |
| 18077 | newChild = newChild.sibling = createWorkInProgress(currentChild, currentChild.pendingProps); |
| 18078 | newChild.return = workInProgress; |
| 18079 | } |
| 18080 | |
| 18081 | newChild.sibling = null; |
| 18082 | } // Reset a workInProgress child set to prepare it for a second pass. |
| 18083 | |
| 18084 | function resetChildFibers(workInProgress, renderExpirationTime) { |
| 18085 | var child = workInProgress.child; |
no test coverage detected