Skip to content

Commit

Permalink
Delete an unused field (#21415)
Browse files Browse the repository at this point in the history
  • Loading branch information
okmttdhr authored Jun 2, 2021
1 parent 76f85b3 commit a896464
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions packages/react-reconciler/src/ReactFiberNewContext.new.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions packages/react-reconciler/src/ReactFiberNewContext.old.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a896464

Please sign in to comment.