mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Delete an unused field (#21415)
This commit is contained in:
@@ -644,9 +644,6 @@ export function readContext<T>(context: ReactContext<T>): T {
|
||||
currentlyRenderingFiber.dependencies = {
|
||||
lanes: NoLanes,
|
||||
firstContext: contextItem,
|
||||
|
||||
// TODO: This is an old field. Delete it.
|
||||
responders: null,
|
||||
};
|
||||
if (enableLazyContextPropagation) {
|
||||
currentlyRenderingFiber.flags |= NeedsPropagation;
|
||||
|
||||
@@ -644,9 +644,6 @@ export function readContext<T>(context: ReactContext<T>): T {
|
||||
currentlyRenderingFiber.dependencies = {
|
||||
lanes: NoLanes,
|
||||
firstContext: contextItem,
|
||||
|
||||
// TODO: This is an old field. Delete it.
|
||||
responders: null,
|
||||
};
|
||||
if (enableLazyContextPropagation) {
|
||||
currentlyRenderingFiber.flags |= NeedsPropagation;
|
||||
|
||||
Reference in New Issue
Block a user