File tree 2 files changed +2
-2
lines changed
packages/react-reconciler/src 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3184,7 +3184,7 @@ function doubleInvokeEffectsInDEV(
3184
3184
) {
3185
3185
const isStrictModeFiber = fiber . type === REACT_STRICT_MODE_TYPE ;
3186
3186
const isInStrictMode = parentIsInStrictMode || isStrictModeFiber ;
3187
- if ( fiber . flags & PlacementDEV || fiber . tag === OffscreenComponent ) {
3187
+ if ( fiber . flags & PlacementDEV ) {
3188
3188
setCurrentDebugFiberInDEV ( fiber ) ;
3189
3189
if ( isInStrictMode ) {
3190
3190
disappearLayoutEffects ( fiber ) ;
Original file line number Diff line number Diff line change @@ -3184,7 +3184,7 @@ function doubleInvokeEffectsInDEV(
3184
3184
) {
3185
3185
const isStrictModeFiber = fiber . type === REACT_STRICT_MODE_TYPE ;
3186
3186
const isInStrictMode = parentIsInStrictMode || isStrictModeFiber ;
3187
- if ( fiber . flags & PlacementDEV || fiber . tag === OffscreenComponent ) {
3187
+ if ( fiber . flags & PlacementDEV ) {
3188
3188
setCurrentDebugFiberInDEV ( fiber ) ;
3189
3189
if ( isInStrictMode ) {
3190
3190
disappearLayoutEffects ( fiber ) ;
You can’t perform that action at this time.
0 commit comments