(current, workInProgress, renderExpirationTime)
| 18337 | } |
| 18338 | |
| 18339 | function updatePortalComponent(current, workInProgress, renderExpirationTime) { |
| 18340 | pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo); |
| 18341 | var nextChildren = workInProgress.pendingProps; |
| 18342 | |
| 18343 | if (current === null) { |
| 18344 | // Portals are special because we don't append the children during mount |
| 18345 | // but at commit. Therefore we need to track insertions which the normal |
| 18346 | // flow doesn't do during mount. This doesn't happen at the root because |
| 18347 | // the root always starts with a "current" with a null child. |
| 18348 | // TODO: Consider unifying this with how the root works. |
| 18349 | workInProgress.child = reconcileChildFibers(workInProgress, null, nextChildren, renderExpirationTime); |
| 18350 | } else { |
| 18351 | reconcileChildren(current, workInProgress, nextChildren, renderExpirationTime); |
| 18352 | } |
| 18353 | |
| 18354 | return workInProgress.child; |
| 18355 | } |
| 18356 | |
| 18357 | function updateContextProvider(current, workInProgress, renderExpirationTime) { |
| 18358 | var providerType = workInProgress.type; |
no test coverage detected