(containerInfo, tag, hydrate, hydrationCallbacks)
| 24283 | } |
| 24284 | |
| 24285 | function createFiberRoot(containerInfo, tag, hydrate, hydrationCallbacks) { |
| 24286 | var root = new FiberRootNode(containerInfo, tag, hydrate); |
| 24287 | // stateNode is any. |
| 24288 | |
| 24289 | |
| 24290 | var uninitializedFiber = createHostRootFiber(tag); |
| 24291 | root.current = uninitializedFiber; |
| 24292 | uninitializedFiber.stateNode = root; |
| 24293 | initializeUpdateQueue(uninitializedFiber); |
| 24294 | return root; |
| 24295 | } |
| 24296 | function isRootSuspendedAtTime(root, expirationTime) { |
| 24297 | var firstSuspendedTime = root.firstSuspendedTime; |
| 24298 | var lastSuspendedTime = root.lastSuspendedTime; |
no test coverage detected