(containerInfo, tag, hydrate)
| 24255 | } |
| 24256 | |
| 24257 | function FiberRootNode(containerInfo, tag, hydrate) { |
| 24258 | this.tag = tag; |
| 24259 | this.current = null; |
| 24260 | this.containerInfo = containerInfo; |
| 24261 | this.pendingChildren = null; |
| 24262 | this.pingCache = null; |
| 24263 | this.finishedExpirationTime = NoWork; |
| 24264 | this.finishedWork = null; |
| 24265 | this.timeoutHandle = noTimeout; |
| 24266 | this.context = null; |
| 24267 | this.pendingContext = null; |
| 24268 | this.hydrate = hydrate; |
| 24269 | this.callbackNode = null; |
| 24270 | this.callbackPriority = NoPriority; |
| 24271 | this.firstPendingTime = NoWork; |
| 24272 | this.firstSuspendedTime = NoWork; |
| 24273 | this.lastSuspendedTime = NoWork; |
| 24274 | this.nextKnownPendingLevel = NoWork; |
| 24275 | this.lastPingedTime = NoWork; |
| 24276 | this.lastExpiredTime = NoWork; |
| 24277 | |
| 24278 | { |
| 24279 | this.interactionThreadID = unstable_getThreadID(); |
| 24280 | this.memoizedInteractions = new Set(); |
| 24281 | this.pendingInteractionMap = new Map(); |
| 24282 | } |
| 24283 | } |
| 24284 | |
| 24285 | function createFiberRoot(containerInfo, tag, hydrate, hydrationCallbacks) { |
| 24286 | var root = new FiberRootNode(containerInfo, tag, hydrate); |
nothing calls this directly
no test coverage detected