(current, workInProgress, renderExpirationTime)
| 21897 | } |
| 21898 | |
| 21899 | function updatePortalComponent(current, workInProgress, renderExpirationTime) { |
| 21900 | pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo); |
| 21901 | var nextChildren = workInProgress.pendingProps; |
| 21902 | |
| 21903 | if (current === null) { |
| 21904 | // Portals are special because we don't append the children during mount |
| 21905 | // but at commit. Therefore we need to track insertions which the normal |
| 21906 | // flow doesn't do during mount. This doesn't happen at the root because |
| 21907 | // the root always starts with a "current" with a null child. |
| 21908 | // TODO: Consider unifying this with how the root works. |
| 21909 | workInProgress.child = reconcileChildFibers(workInProgress, null, nextChildren, renderExpirationTime); |
| 21910 | } else { |
| 21911 | reconcileChildren(current, workInProgress, nextChildren, renderExpirationTime); |
| 21912 | } |
| 21913 | |
| 21914 | return workInProgress.child; |
| 21915 | } |
| 21916 | |
| 21917 | function updateContextProvider(current, workInProgress, renderExpirationTime) { |
| 21918 | var providerType = workInProgress.type; |
no test coverage detected