(workInProgress)
| 19804 | } |
| 19805 | |
| 19806 | function pushHostRootContext(workInProgress) { |
| 19807 | var root = workInProgress.stateNode; |
| 19808 | |
| 19809 | if (root.pendingContext) { |
| 19810 | pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context); |
| 19811 | } else if (root.context) { |
| 19812 | // Should always be set |
| 19813 | pushTopLevelContextObject(workInProgress, root.context, false); |
| 19814 | } |
| 19815 | |
| 19816 | pushHostContainer(workInProgress, root.containerInfo); |
| 19817 | } |
| 19818 | |
| 19819 | function updateHostRoot(current, workInProgress, renderLanes) { |
| 19820 | pushHostRootContext(workInProgress); |
no test coverage detected
searching dependent graphs…