Skip to content

Commit

Permalink
Remove FeatureFlags fork for react-dom/unstable_testing
Browse files Browse the repository at this point in the history
This doesn't need its own set of flags. We use things like __PROFILE__ to
fork for the `react-dom/profiling` build so we can do the same here if
needed but I don't think we actually need to fork this anywhere as far as
I can tell.
  • Loading branch information
sebmarkbage committed Mar 13, 2023
1 parent 2788d0d commit fa440a7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 165 deletions.
78 changes: 0 additions & 78 deletions packages/shared/forks/ReactFeatureFlags.testing.js

This file was deleted.

79 changes: 0 additions & 79 deletions packages/shared/forks/ReactFeatureFlags.testing.www.js

This file was deleted.

8 changes: 0 additions & 8 deletions scripts/rollup/forks.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,6 @@ const forks = Object.freeze({
return './packages/shared/forks/ReactFeatureFlags.test-renderer.www.js';
}
return './packages/shared/forks/ReactFeatureFlags.test-renderer.js';
case 'react-dom/unstable_testing':
switch (bundleType) {
case FB_WWW_DEV:
case FB_WWW_PROD:
case FB_WWW_PROFILING:
return './packages/shared/forks/ReactFeatureFlags.testing.www.js';
}
return './packages/shared/forks/ReactFeatureFlags.testing.js';
default:
switch (bundleType) {
case FB_WWW_DEV:
Expand Down

0 comments on commit fa440a7

Please sign in to comment.