forked from facebook/react
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating forking implementation to match against more general fork im…
…plementations (facebook#27205) Search for more generic fork files if an exact match does not exist. If `forks/MyFile.dom.js` exists but `forks/MyFile.dom-node.js` does not then use it when trying to resolve forks for the `"dom-node"` renderer in flow, tests, and build consolidate certain fork files that were identical and make semantic sense to be generalized add `dom-browser-esm` bundle and use it for `react-server-dom-esm/client.browser` build
- Loading branch information
Showing
26 changed files
with
340 additions
and
321 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
packages/react-client/src/forks/ReactFlightClientConfig.dom-browser-esm.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
* @flow | ||
*/ | ||
|
||
export * from 'react-client/src/ReactFlightClientConfigBrowser'; | ||
export * from 'react-server-dom-esm/src/ReactFlightClientConfigESMBundler'; | ||
export * from 'react-dom-bindings/src/shared/ReactFlightClientConfigDOM'; | ||
export const usedWithSSR = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
packages/react-reconciler/src/forks/ReactFiberConfig.dom-bun.js
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
packages/react-reconciler/src/forks/ReactFiberConfig.dom-edge-webpack.js
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
packages/react-reconciler/src/forks/ReactFiberConfig.dom-fb.js
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
packages/react-reconciler/src/forks/ReactFiberConfig.dom-legacy.js
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
packages/react-reconciler/src/forks/ReactFiberConfig.dom-node-esm.js
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
packages/react-reconciler/src/forks/ReactFiberConfig.dom-node-webpack.js
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
packages/react-reconciler/src/forks/ReactFiberConfig.dom-node.js
This file was deleted.
Oops, something went wrong.
File renamed without changes.
14 changes: 0 additions & 14 deletions
14
packages/react-server/src/forks/ReactFizzConfig.dom-bun.js
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
packages/react-server/src/forks/ReactFizzConfig.dom-node-esm.js
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
packages/react-server/src/forks/ReactFizzConfig.dom-node-webpack.js
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
10 changes: 0 additions & 10 deletions
10
packages/react-server/src/forks/ReactServerStreamConfig.dom-node-esm.js
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
packages/react-server/src/forks/ReactServerStreamConfig.dom-node-webpack.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.