(element, container, parentComponent, expirationTime, callback)
| 20217 | } |
| 20218 | |
| 20219 | function updateContainerAtExpirationTime(element, container, parentComponent, expirationTime, callback) { |
| 20220 | // TODO: If this is a nested container, this won't be the root. |
| 20221 | var current$$1 = container.current; |
| 20222 | |
| 20223 | { |
| 20224 | if (ReactFiberInstrumentation_1.debugTool) { |
| 20225 | if (current$$1.alternate === null) { |
| 20226 | ReactFiberInstrumentation_1.debugTool.onMountContainer(container); |
| 20227 | } else if (element === null) { |
| 20228 | ReactFiberInstrumentation_1.debugTool.onUnmountContainer(container); |
| 20229 | } else { |
| 20230 | ReactFiberInstrumentation_1.debugTool.onUpdateContainer(container); |
| 20231 | } |
| 20232 | } |
| 20233 | } |
| 20234 | |
| 20235 | var context = getContextForSubtree(parentComponent); |
| 20236 | if (container.context === null) { |
| 20237 | container.context = context; |
| 20238 | } else { |
| 20239 | container.pendingContext = context; |
| 20240 | } |
| 20241 | |
| 20242 | return scheduleRootUpdate(current$$1, element, expirationTime, callback); |
| 20243 | } |
| 20244 | |
| 20245 | function findHostInstance(component) { |
| 20246 | var fiber = get(component); |
no test coverage detected