(workInProgress)
| 19833 | } |
| 19834 | |
| 19835 | function pushHostRootContext(workInProgress) { |
| 19836 | var root = workInProgress.stateNode; |
| 19837 | |
| 19838 | if (root.pendingContext) { |
| 19839 | pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context); |
| 19840 | } else if (root.context) { |
| 19841 | // Should always be set |
| 19842 | pushTopLevelContextObject(workInProgress, root.context, false); |
| 19843 | } |
| 19844 | |
| 19845 | pushHostContainer(workInProgress, root.containerInfo); |
| 19846 | } |
| 19847 | |
| 19848 | function updateHostRoot(current, workInProgress, renderLanes) { |
| 19849 | pushHostRootContext(workInProgress); |
no test coverage detected
searching dependent graphs…