(config)
| 14027 | |
| 14028 | |
| 14029 | var ReactFiberReconciler$1 = function (config) { |
| 14030 | var getPublicInstance = config.getPublicInstance; |
| 14031 | |
| 14032 | var _ReactFiberScheduler = ReactFiberScheduler(config), |
| 14033 | computeUniqueAsyncExpiration = _ReactFiberScheduler.computeUniqueAsyncExpiration, |
| 14034 | recalculateCurrentTime = _ReactFiberScheduler.recalculateCurrentTime, |
| 14035 | computeExpirationForFiber = _ReactFiberScheduler.computeExpirationForFiber, |
| 14036 | scheduleWork = _ReactFiberScheduler.scheduleWork, |
| 14037 | requestWork = _ReactFiberScheduler.requestWork, |
| 14038 | flushRoot = _ReactFiberScheduler.flushRoot, |
| 14039 | batchedUpdates = _ReactFiberScheduler.batchedUpdates, |
| 14040 | unbatchedUpdates = _ReactFiberScheduler.unbatchedUpdates, |
| 14041 | flushSync = _ReactFiberScheduler.flushSync, |
| 14042 | flushControlled = _ReactFiberScheduler.flushControlled, |
| 14043 | deferredUpdates = _ReactFiberScheduler.deferredUpdates, |
| 14044 | syncUpdates = _ReactFiberScheduler.syncUpdates, |
| 14045 | interactiveUpdates = _ReactFiberScheduler.interactiveUpdates, |
| 14046 | flushInteractiveUpdates = _ReactFiberScheduler.flushInteractiveUpdates, |
| 14047 | legacyContext = _ReactFiberScheduler.legacyContext; |
| 14048 | |
| 14049 | var findCurrentUnmaskedContext = legacyContext.findCurrentUnmaskedContext, |
| 14050 | isContextProvider = legacyContext.isContextProvider, |
| 14051 | processChildContext = legacyContext.processChildContext; |
| 14052 | |
| 14053 | |
| 14054 | function getContextForSubtree(parentComponent) { |
| 14055 | if (!parentComponent) { |
| 14056 | return emptyObject; |
| 14057 | } |
| 14058 | |
| 14059 | var fiber = get(parentComponent); |
| 14060 | var parentContext = findCurrentUnmaskedContext(fiber); |
| 14061 | return isContextProvider(fiber) ? processChildContext(fiber, parentContext) : parentContext; |
| 14062 | } |
| 14063 | |
| 14064 | function scheduleRootUpdate(current, element, currentTime, expirationTime, callback) { |
| 14065 | { |
| 14066 | if (ReactDebugCurrentFiber.phase === 'render' && ReactDebugCurrentFiber.current !== null && !didWarnAboutNestedUpdates) { |
| 14067 | didWarnAboutNestedUpdates = true; |
| 14068 | warning(false, 'Render methods should be a pure function of props and state; ' + 'triggering nested component updates from render is not allowed. ' + 'If necessary, trigger nested updates in componentDidUpdate.\n\n' + 'Check the render method of %s.', getComponentName(ReactDebugCurrentFiber.current) || 'Unknown'); |
| 14069 | } |
| 14070 | } |
| 14071 | |
| 14072 | callback = callback === undefined ? null : callback; |
| 14073 | { |
| 14074 | warning(callback === null || typeof callback === 'function', 'render(...): Expected the last optional `callback` argument to be a ' + 'function. Instead received: %s.', callback); |
| 14075 | } |
| 14076 | |
| 14077 | var update = { |
| 14078 | expirationTime: expirationTime, |
| 14079 | partialState: { element: element }, |
| 14080 | callback: callback, |
| 14081 | isReplace: false, |
| 14082 | isForced: false, |
| 14083 | capturedValue: null, |
| 14084 | next: null |
| 14085 | }; |
| 14086 | insertUpdateIntoFiber(current, update); |
nothing calls this directly
no test coverage detected