Skip to content

Commit a896464

Browse files
authored
Delete an unused field (#21415)
1 parent 76f85b3 commit a896464

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

packages/react-reconciler/src/ReactFiberNewContext.new.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -644,9 +644,6 @@ export function readContext<T>(context: ReactContext<T>): T {
644644
currentlyRenderingFiber.dependencies = {
645645
lanes: NoLanes,
646646
firstContext: contextItem,
647-
648-
// TODO: This is an old field. Delete it.
649-
responders: null,
650647
};
651648
if (enableLazyContextPropagation) {
652649
currentlyRenderingFiber.flags |= NeedsPropagation;

packages/react-reconciler/src/ReactFiberNewContext.old.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -644,9 +644,6 @@ export function readContext<T>(context: ReactContext<T>): T {
644644
currentlyRenderingFiber.dependencies = {
645645
lanes: NoLanes,
646646
firstContext: contextItem,
647-
648-
// TODO: This is an old field. Delete it.
649-
responders: null,
650647
};
651648
if (enableLazyContextPropagation) {
652649
currentlyRenderingFiber.flags |= NeedsPropagation;

0 commit comments

Comments
 (0)