From e748686abf392855620918df9b35e11f6b67a13c Mon Sep 17 00:00:00 2001 From: Rick Hanlon Date: Tue, 3 May 2022 13:18:14 -0400 Subject: [PATCH] Add test for hiding children after layout destroy --- .../src/__tests__/ReactOffscreen-test.js | 41 +++++++++++++++++++ packages/shared/ReactFeatureFlags.js | 2 +- .../forks/ReactFeatureFlags.www-dynamic.js | 2 +- 3 files changed, 43 insertions(+), 2 deletions(-) diff --git a/packages/react-reconciler/src/__tests__/ReactOffscreen-test.js b/packages/react-reconciler/src/__tests__/ReactOffscreen-test.js index 3125fcc29e5f9..13257a82b81b8 100644 --- a/packages/react-reconciler/src/__tests__/ReactOffscreen-test.js +++ b/packages/react-reconciler/src/__tests__/ReactOffscreen-test.js @@ -310,6 +310,47 @@ describe('ReactOffscreen', () => { expect(root).toMatchRenderedOutput(