From 45f571736cd0fe1d6c9db6cdde85fb2274b1670e Mon Sep 17 00:00:00 2001 From: Andrew Clark Date: Wed, 20 Mar 2019 16:27:59 -0700 Subject: [PATCH] ReactFiberScheduler -> ReactFiberScheduler.old Doing this in its own commit so history and blame are preserved. --- packages/react-reconciler/src/ReactFiberBeginWork.js | 2 +- packages/react-reconciler/src/ReactFiberClassComponent.js | 2 +- packages/react-reconciler/src/ReactFiberCommitWork.js | 4 ++-- packages/react-reconciler/src/ReactFiberHooks.js | 2 +- packages/react-reconciler/src/ReactFiberReconciler.js | 2 +- packages/react-reconciler/src/ReactFiberRoot.js | 2 +- .../{ReactFiberScheduler.js => ReactFiberScheduler.old.js} | 0 packages/react-reconciler/src/ReactFiberUnwindWork.js | 4 ++-- 8 files changed, 9 insertions(+), 9 deletions(-) rename packages/react-reconciler/src/{ReactFiberScheduler.js => ReactFiberScheduler.old.js} (100%) diff --git a/packages/react-reconciler/src/ReactFiberBeginWork.js b/packages/react-reconciler/src/ReactFiberBeginWork.js index 3c5e0fddae0e1..ff2eae797e8bb 100644 --- a/packages/react-reconciler/src/ReactFiberBeginWork.js +++ b/packages/react-reconciler/src/ReactFiberBeginWork.js @@ -144,7 +144,7 @@ import { createWorkInProgress, isSimpleFunctionComponent, } from './ReactFiber'; -import {requestCurrentTime, retryTimedOutBoundary} from './ReactFiberScheduler'; +import {requestCurrentTime, retryTimedOutBoundary} from './ReactFiberScheduler.old'; const ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; diff --git a/packages/react-reconciler/src/ReactFiberClassComponent.js b/packages/react-reconciler/src/ReactFiberClassComponent.js index 17fd298ef7fce..9ceb7e0302207 100644 --- a/packages/react-reconciler/src/ReactFiberClassComponent.js +++ b/packages/react-reconciler/src/ReactFiberClassComponent.js @@ -53,7 +53,7 @@ import { computeExpirationForFiber, scheduleWork, flushPassiveEffects, -} from './ReactFiberScheduler'; +} from './ReactFiberScheduler.old'; const fakeInternalInstance = {}; const isArray = Array.isArray; diff --git a/packages/react-reconciler/src/ReactFiberCommitWork.js b/packages/react-reconciler/src/ReactFiberCommitWork.js index a3e479c20ad62..e8f7351722e47 100644 --- a/packages/react-reconciler/src/ReactFiberCommitWork.js +++ b/packages/react-reconciler/src/ReactFiberCommitWork.js @@ -21,7 +21,7 @@ import type {ExpirationTime} from './ReactFiberExpirationTime'; import type {CapturedValue, CapturedError} from './ReactCapturedValue'; import type {SuspenseState} from './ReactFiberSuspenseComponent'; import type {FunctionComponentUpdateQueue} from './ReactFiberHooks'; -import type {Thenable} from './ReactFiberScheduler'; +import type {Thenable} from './ReactFiberScheduler.old'; import {unstable_wrap as Schedule_tracing_wrap} from 'scheduler/tracing'; import { @@ -95,7 +95,7 @@ import { captureCommitPhaseError, requestCurrentTime, resolveRetryThenable, -} from './ReactFiberScheduler'; +} from './ReactFiberScheduler.old'; import { NoEffect as NoHookEffect, UnmountSnapshot, diff --git a/packages/react-reconciler/src/ReactFiberHooks.js b/packages/react-reconciler/src/ReactFiberHooks.js index 57d8a7c4edb71..541a1732dc8c5 100644 --- a/packages/react-reconciler/src/ReactFiberHooks.js +++ b/packages/react-reconciler/src/ReactFiberHooks.js @@ -34,7 +34,7 @@ import { computeExpirationForFiber, flushPassiveEffects, requestCurrentTime, -} from './ReactFiberScheduler'; +} from './ReactFiberScheduler.old'; import invariant from 'shared/invariant'; import warning from 'shared/warning'; diff --git a/packages/react-reconciler/src/ReactFiberReconciler.js b/packages/react-reconciler/src/ReactFiberReconciler.js index 01e303c74bc42..bb4b52cb6d451 100644 --- a/packages/react-reconciler/src/ReactFiberReconciler.js +++ b/packages/react-reconciler/src/ReactFiberReconciler.js @@ -54,7 +54,7 @@ import { interactiveUpdates, flushInteractiveUpdates, flushPassiveEffects, -} from './ReactFiberScheduler'; +} from './ReactFiberScheduler.old'; import {createUpdate, enqueueUpdate} from './ReactUpdateQueue'; import ReactFiberInstrumentation from './ReactFiberInstrumentation'; import { diff --git a/packages/react-reconciler/src/ReactFiberRoot.js b/packages/react-reconciler/src/ReactFiberRoot.js index e3e445b46ef7f..2405bb40ee921 100644 --- a/packages/react-reconciler/src/ReactFiberRoot.js +++ b/packages/react-reconciler/src/ReactFiberRoot.js @@ -10,7 +10,7 @@ import type {Fiber} from './ReactFiber'; import type {ExpirationTime} from './ReactFiberExpirationTime'; import type {TimeoutHandle, NoTimeout} from './ReactFiberHostConfig'; -import type {Thenable} from './ReactFiberScheduler'; +import type {Thenable} from './ReactFiberScheduler.old'; import type {Interaction} from 'scheduler/src/Tracing'; import {noTimeout} from './ReactFiberHostConfig'; diff --git a/packages/react-reconciler/src/ReactFiberScheduler.js b/packages/react-reconciler/src/ReactFiberScheduler.old.js similarity index 100% rename from packages/react-reconciler/src/ReactFiberScheduler.js rename to packages/react-reconciler/src/ReactFiberScheduler.old.js diff --git a/packages/react-reconciler/src/ReactFiberUnwindWork.js b/packages/react-reconciler/src/ReactFiberUnwindWork.js index 2d76a3b6b5307..65f4c333f82d1 100644 --- a/packages/react-reconciler/src/ReactFiberUnwindWork.js +++ b/packages/react-reconciler/src/ReactFiberUnwindWork.js @@ -12,7 +12,7 @@ import type {FiberRoot} from './ReactFiberRoot'; import type {ExpirationTime} from './ReactFiberExpirationTime'; import type {CapturedValue} from './ReactCapturedValue'; import type {Update} from './ReactUpdateQueue'; -import type {Thenable} from './ReactFiberScheduler'; +import type {Thenable} from './ReactFiberScheduler.old'; import type {SuspenseState} from './ReactFiberSuspenseComponent'; import {unstable_wrap as Schedule_tracing_wrap} from 'scheduler/tracing'; @@ -67,7 +67,7 @@ import { isAlreadyFailedLegacyErrorBoundary, pingSuspendedRoot, resolveRetryThenable, -} from './ReactFiberScheduler'; +} from './ReactFiberScheduler.old'; import invariant from 'shared/invariant'; import maxSigned31BitInt from './maxSigned31BitInt';