(tag, isStrictMode, concurrentUpdatesByDefaultOverride)
| 28345 | return workInProgress; |
| 28346 | } |
| 28347 | function createHostRootFiber(tag, isStrictMode, concurrentUpdatesByDefaultOverride) { |
| 28348 | var mode; |
| 28349 | |
| 28350 | if (tag === ConcurrentRoot) { |
| 28351 | mode = ConcurrentMode; |
| 28352 | |
| 28353 | if (isStrictMode === true) { |
| 28354 | mode |= StrictLegacyMode; |
| 28355 | |
| 28356 | { |
| 28357 | mode |= StrictEffectsMode; |
| 28358 | } |
| 28359 | } |
| 28360 | } else { |
| 28361 | mode = NoMode; |
| 28362 | } |
| 28363 | |
| 28364 | if ( isDevToolsPresent) { |
| 28365 | // Always collect profile timings when DevTools are present. |
| 28366 | // This enables DevTools to start capturing timing at any point– |
| 28367 | // Without some nodes in the tree having empty base times. |
| 28368 | mode |= ProfileMode; |
| 28369 | } |
| 28370 | |
| 28371 | return createFiber(HostRoot, null, null, mode); |
| 28372 | } |
| 28373 | function createFiberFromTypeAndProps(type, // React$ElementType |
| 28374 | key, pendingProps, owner, mode, lanes) { |
| 28375 | var fiberTag = IndeterminateComponent; // The resolved type is set if we know what the final type will be. I.e. it's not lazy. |
no test coverage detected
searching dependent graphs…