Delete an unused field (#21415)
okmttdhr committed
Jun 3, 2021 at 00:24 UTC
a8964649bb6332cf1f8d723f81ce97cc5a1886ff
2 files changed
-6
packages/react-reconciler/src/ReactFiberNewContext.new.js
-3
@@ -644,9 +644,6 @@ export function readContext<T>(context: ReactContext<T>): T {
644
currentlyRenderingFiber.dependencies = {
645
lanes: NoLanes,
646
firstContext: contextItem,
647
-
648
- // TODO: This is an old field. Delete it.
649
- responders: null,
647
};
648
if (enableLazyContextPropagation) {
649
currentlyRenderingFiber.flags |= NeedsPropagation;
packages/react-reconciler/src/ReactFiberNewContext.old.js
-3
@@ -644,9 +644,6 @@ export function readContext<T>(context: ReactContext<T>): T {
644
currentlyRenderingFiber.dependencies = {
645
lanes: NoLanes,
646
firstContext: contextItem,
647
-
648
- // TODO: This is an old field. Delete it.
649
- responders: null,
647
};
648
if (enableLazyContextPropagation) {
649
currentlyRenderingFiber.flags |= NeedsPropagation;