Skip to content

Commit 00e2193

Browse files
committed
Don't bailout for filtered instance
Instead, we just continue to collect the unfiltered children.
1 parent ba4bdb2 commit 00e2193

File tree

1 file changed

+4
-1
lines changed
  • packages/react-devtools-shared/src/backend/fiber

1 file changed

+4
-1
lines changed

packages/react-devtools-shared/src/backend/fiber/renderer.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3917,7 +3917,10 @@ export function attach(
39173917
}
39183918
} else {
39193919
// Children are unchanged.
3920-
if (fiberInstance !== null) {
3920+
if (
3921+
fiberInstance !== null &&
3922+
fiberInstance.kind !== FILTERED_FIBER_INSTANCE
3923+
) {
39213924
// All the remaining children will be children of this same fiber so we can just reuse them.
39223925
// I.e. we just restore them by undoing what we did above.
39233926
fiberInstance.firstChild = remainingReconcilingChildren;

0 commit comments

Comments
 (0)