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 a9dc73c commit 94da1f6Copy full SHA for 94da1f6
packages/react-reconciler/src/ReactFiberWorkLoop.new.js
@@ -3184,7 +3184,7 @@ function doubleInvokeEffectsInDEV(
3184
) {
3185
const isStrictModeFiber = fiber.type === REACT_STRICT_MODE_TYPE;
3186
const isInStrictMode = parentIsInStrictMode || isStrictModeFiber;
3187
- if (fiber.flags & PlacementDEV || fiber.tag === OffscreenComponent) {
+ if (fiber.flags & PlacementDEV) {
3188
setCurrentDebugFiberInDEV(fiber);
3189
if (isInStrictMode) {
3190
disappearLayoutEffects(fiber);
0 commit comments