(returnFiber,fiber)
| 7628 | // again and the nodes are still in the host tree so these will be |
| 7629 | // recreated. |
| 7630 | if(returnFiber.lastEffect!==null){returnFiber.lastEffect.nextEffect=childToDelete;returnFiber.lastEffect=childToDelete;}else{returnFiber.firstEffect=returnFiber.lastEffect=childToDelete;}}function insertNonHydratedInstance(returnFiber,fiber){fiber.effectTag|=Placement$6;{var parentInstance;switch(returnFiber.tag){// TODO: Currently we don't warn for insertions into the root because |
| 7631 | // we always insert into the root in the non-hydrating case. We just |
| 7632 | // delete the existing content. Reenable this once we have a better |
| 7633 | // strategy for determining if we're hydrating or not. |
| 7634 | // case HostRoot: |
| 7635 | // parentInstance = returnFiber.stateNode.containerInfo; |
| 7636 | // break; |
| 7637 | case HostComponent$10:parentInstance=returnFiber.stateNode;break;default:return;}switch(fiber.tag){case HostComponent$10:var type=fiber.type;var props=fiber.pendingProps;didNotFindHydratableInstance(parentInstance,type,props);break;case HostText$8:var text=fiber.pendingProps;didNotFindHydratableTextInstance(parentInstance,text);break;}}}function canHydrate(fiber,nextInstance){switch(fiber.tag){case HostComponent$10:{var type=fiber.type;var props=fiber.pendingProps;return canHydrateInstance(nextInstance,type,props);}case HostText$8:{var text=fiber.pendingProps;return canHydrateTextInstance(nextInstance,text);}default:return false;}}function tryToClaimNextHydratableInstance(fiber){if(!isHydrating){return;}var nextInstance=nextHydratableInstance;if(!nextInstance){// Nothing to hydrate. Make it an insertion. |
| 7638 | insertNonHydratedInstance(hydrationParentFiber,fiber);isHydrating=false;hydrationParentFiber=fiber;return;}if(!canHydrate(fiber,nextInstance)){// If we can't hydrate this instance let's try the next one. |
| 7639 | // We use this as a heuristic. It's based on intuition and not data so it |
| 7640 | // might be flawed or unnecessary. |
no outgoing calls
no test coverage detected