Skip to content

Commit

Permalink
Revert "Fork ReactDOMSharedInternals for www (#25791)" (#25864)
Browse files Browse the repository at this point in the history
We did some cleanup internally of our ReactDOM module, so this fork
should be safe to remove now. Will land this only after our internal
diff lands.
  • Loading branch information
poteto authored Dec 12, 2022
1 parent 996e4c0 commit 9c09c1c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
16 changes: 0 additions & 16 deletions packages/shared/forks/ReactDOMSharedInternals.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 @@ -70,14 +70,6 @@ const forks = Object.freeze({
if (entry === 'react-dom' || entry === 'react-dom/server-rendering-stub') {
return './packages/react-dom/src/ReactDOMSharedInternals.js';
}
switch (bundleType) {
case FB_WWW_DEV:
case FB_WWW_PROD:
case FB_WWW_PROFILING:
return './packages/shared/forks/ReactDOMSharedInternals.www.js';
default:
break;
}
if (
!entry.startsWith('react-dom/') &&
dependencies.indexOf('react-dom') === -1
Expand Down

0 comments on commit 9c09c1c

Please sign in to comment.