(fiber, pendingProps)
| 17193 | } |
| 17194 | |
| 17195 | function useFiber(fiber, pendingProps) { |
| 17196 | // We currently set sibling to null and index to 0 here because it is easy |
| 17197 | // to forget to do before returning it. E.g. for the single child case. |
| 17198 | var clone = createWorkInProgress(fiber, pendingProps); |
| 17199 | clone.index = 0; |
| 17200 | clone.sibling = null; |
| 17201 | return clone; |
| 17202 | } |
| 17203 | |
| 17204 | function placeChild(newFiber, lastPlacedIndex, newIndex) { |
| 17205 | newFiber.index = newIndex; |
no test coverage detected