File tree Expand file tree Collapse file tree
packages/react-reconciler/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ let lastContextWithAllBitsObserved: ReactContext<any> | null = null;
5959
6060let isDisallowedContextReadInDEV: boolean = false;
6161
62- export function resetContextDependences (): void {
62+ export function resetContextDependencies (): void {
6363 // This is called right before React yields execution, to ensure `readContext`
6464 // cannot be called outside the render phase.
6565 currentlyRenderingFiber = null ;
Original file line number Diff line number Diff line change @@ -123,8 +123,7 @@ import {
123123 commitResetTextContent ,
124124} from './ReactFiberCommitWork' ;
125125import { enqueueUpdate } from './ReactUpdateQueue' ;
126- // TODO: Ahaha Andrew is bad at spellling
127- import { resetContextDependences as resetContextDependencies } from './ReactFiberNewContext' ;
126+ import { resetContextDependencies } from './ReactFiberNewContext' ;
128127import { resetHooks , ContextOnlyDispatcher } from './ReactFiberHooks' ;
129128import { createCapturedValue } from './ReactCapturedValue' ;
130129
You can’t perform that action at this time.
0 commit comments