Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't warn about concurrent provider renders if we finished rendering
  • Loading branch information
eps1lon authored and Sebastian Silbermann committed Jan 11, 2023
commit bb3309874eccc55dcc91ff843bd30742d90fec85
2 changes: 2 additions & 0 deletions packages/react-reconciler/src/ReactFiberNewContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ export function popProvider(
} else {
context._currentValue = currentValue;
}
context._currentRenderer = null;
} else {
if (
enableServerContext &&
Expand All @@ -150,6 +151,7 @@ export function popProvider(
} else {
context._currentValue2 = currentValue;
}
context._currentRenderer2 = null;
}
}

Expand Down