(fiber, pendingProps)
| 13633 | } |
| 13634 | |
| 13635 | function useFiber(fiber, pendingProps) { |
| 13636 | // We currently set sibling to null and index to 0 here because it is easy |
| 13637 | // to forget to do before returning it. E.g. for the single child case. |
| 13638 | var clone = createWorkInProgress(fiber, pendingProps); |
| 13639 | clone.index = 0; |
| 13640 | clone.sibling = null; |
| 13641 | return clone; |
| 13642 | } |
| 13643 | |
| 13644 | function placeChild(newFiber, lastPlacedIndex, newIndex) { |
| 13645 | newFiber.index = newIndex; |
no test coverage detected