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