(portal, mode, expirationTime)
| 27747 | return fiber; |
| 27748 | } |
| 27749 | function createFiberFromPortal(portal, mode, expirationTime) { |
| 27750 | var pendingProps = portal.children !== null ? portal.children : []; |
| 27751 | var fiber = createFiber(HostPortal, pendingProps, portal.key, mode); |
| 27752 | fiber.expirationTime = expirationTime; |
| 27753 | fiber.stateNode = { |
| 27754 | containerInfo: portal.containerInfo, |
| 27755 | pendingChildren: null, |
| 27756 | // Used by persistent updates |
| 27757 | implementation: portal.implementation |
| 27758 | }; |
| 27759 | return fiber; |
| 27760 | } // Used for stashing WIP properties to replay failed work in DEV. |
| 27761 | |
| 27762 | function assignFiberPropertiesInDEV(target, source) { |
| 27763 | if (target === null) { |
no test coverage detected