(returnFiber,currentFirstChild)
| 7083 | return null;}// TODO: For the shouldClone case, this could be micro-optimized a bit by |
| 7084 | // assuming that after the first child we've already added everything. |
| 7085 | var childToDelete=currentFirstChild;while(childToDelete!==null){deleteChild(returnFiber,childToDelete);childToDelete=childToDelete.sibling;}return null;}function mapRemainingChildren(returnFiber,currentFirstChild){// Add the remaining children to a temporary map so that we can find them by |
| 7086 | // keys quickly. Implicit (null) keys get added to this set with their index |
| 7087 | var existingChildren=new Map();var existingChild=currentFirstChild;while(existingChild!==null){if(existingChild.key!==null){existingChildren.set(existingChild.key,existingChild);}else{existingChildren.set(existingChild.index,existingChild);}existingChild=existingChild.sibling;}return existingChildren;}function useFiber(fiber,priority){// We currently set sibling to null and index to 0 here because it is easy |
| 7088 | // to forget to do before returning it. E.g. for the single child case. |
| 7089 | if(shouldClone){var clone=createWorkInProgress$2(fiber,priority);clone.index=0;clone.sibling=null;return clone;}else{// We override the pending priority even if it is higher, because if |
| 7090 | // we're reconciling at a lower priority that means that this was |
no outgoing calls
no test coverage detected