(current, workInProgress, renderLanes)
| 21138 | } |
| 21139 | |
| 21140 | function updatePortalComponent(current, workInProgress, renderLanes) { |
| 21141 | pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo); |
| 21142 | var nextChildren = workInProgress.pendingProps; |
| 21143 | |
| 21144 | if (current === null) { |
| 21145 | // Portals are special because we don't append the children during mount |
| 21146 | // but at commit. Therefore we need to track insertions which the normal |
| 21147 | // flow doesn't do during mount. This doesn't happen at the root because |
| 21148 | // the root always starts with a "current" with a null child. |
| 21149 | // TODO: Consider unifying this with how the root works. |
| 21150 | workInProgress.child = reconcileChildFibers(workInProgress, null, nextChildren, renderLanes); |
| 21151 | } else { |
| 21152 | reconcileChildren(current, workInProgress, nextChildren, renderLanes); |
| 21153 | } |
| 21154 | |
| 21155 | return workInProgress.child; |
| 21156 | } |
| 21157 | |
| 21158 | var hasWarnedAboutUsingNoValuePropOnContextProvider = false; |
| 21159 |
no test coverage detected
searching dependent graphs…