diff --git a/packages/react-reconciler/src/ReactChildFiber.js b/packages/react-reconciler/src/ReactChildFiber.js index e06371e67b81c..956af89af076f 100644 --- a/packages/react-reconciler/src/ReactChildFiber.js +++ b/packages/react-reconciler/src/ReactChildFiber.js @@ -58,7 +58,7 @@ import {isCompatibleFamilyForHotReloading} from './ReactFiberHotReloading'; import {getIsHydrating} from './ReactFiberHydrationContext'; import {pushTreeFork} from './ReactFiberTreeContext'; import {createThenableState, trackUsedThenable} from './ReactFiberThenable'; -import {readContextDuringReconcilation} from './ReactFiberNewContext'; +import {readContextDuringReconciliation} from './ReactFiberNewContext'; // This tracks the thenables that are unwrapped during reconcilation. let thenableState: ThenableState | null = null; @@ -746,7 +746,7 @@ function createChildReconciler( const context: ReactContext = (newChild: any); return createChild( returnFiber, - readContextDuringReconcilation(returnFiber, context, lanes), + readContextDuringReconciliation(returnFiber, context, lanes), lanes, debugInfo, ); @@ -873,7 +873,7 @@ function createChildReconciler( return updateSlot( returnFiber, oldFiber, - readContextDuringReconcilation(returnFiber, context, lanes), + readContextDuringReconciliation(returnFiber, context, lanes), lanes, debugInfo, ); @@ -994,7 +994,7 @@ function createChildReconciler( existingChildren, returnFiber, newIdx, - readContextDuringReconcilation(returnFiber, context, lanes), + readContextDuringReconciliation(returnFiber, context, lanes), lanes, debugInfo, ); @@ -1710,7 +1710,7 @@ function createChildReconciler( return reconcileChildFibersImpl( returnFiber, currentFirstChild, - readContextDuringReconcilation(returnFiber, context, lanes), + readContextDuringReconciliation(returnFiber, context, lanes), lanes, debugInfo, ); diff --git a/packages/react-reconciler/src/ReactFiberNewContext.js b/packages/react-reconciler/src/ReactFiberNewContext.js index 5d9b165635a1e..cb9ada3dee9b8 100644 --- a/packages/react-reconciler/src/ReactFiberNewContext.js +++ b/packages/react-reconciler/src/ReactFiberNewContext.js @@ -715,7 +715,7 @@ export function readContext(context: ReactContext): T { return readContextForConsumer(currentlyRenderingFiber, context); } -export function readContextDuringReconcilation( +export function readContextDuringReconciliation( consumer: Fiber, context: ReactContext, renderLanes: Lanes,