We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb33098 commit 91b9705Copy full SHA for 91b9705
packages/react-reconciler/src/ReactFiberNewContext.js
@@ -141,7 +141,9 @@ export function popProvider(
141
} else {
142
context._currentValue = currentValue;
143
}
144
- context._currentRenderer = null;
+ if (__DEV__) {
145
+ context._currentRenderer = null;
146
+ }
147
148
if (
149
enableServerContext &&
@@ -151,7 +153,9 @@ export function popProvider(
151
153
152
154
context._currentValue2 = currentValue;
155
- context._currentRenderer2 = null;
156
157
+ context._currentRenderer2 = null;
158
159
160
161
0 commit comments