(workInProgress: Fiber)
| 1781 | } |
| 1782 | |
| 1783 | function pushHostRootContext(workInProgress: Fiber) { |
| 1784 | const root = (workInProgress.stateNode: FiberRoot); |
| 1785 | if (root.pendingContext) { |
| 1786 | pushTopLevelContextObject( |
| 1787 | workInProgress, |
| 1788 | root.pendingContext, |
| 1789 | root.pendingContext !== root.context, |
| 1790 | ); |
| 1791 | } else if (root.context) { |
| 1792 | // Should always be set |
| 1793 | pushTopLevelContextObject(workInProgress, root.context, false); |
| 1794 | } |
| 1795 | pushHostContainer(workInProgress, root.containerInfo); |
| 1796 | } |
| 1797 | |
| 1798 | function updateHostRoot( |
| 1799 | current: null | Fiber, |
no test coverage detected