@samitouri / QOS-React-1 / commits / b67ddaa434

[meta-only] Move ReactServerStreamConfigFB to `react-server` from `react-server-dom-fb` (#27544)

Code organization PR. It looks like the `ReactServerStreamConfigFB` is only used in the `relay-server` package. This PR moves it to `react-server` from `react-server-dom-fb` (similar to how we have config for bun, for example). This avoids cross-package imports from `react-server` to `react-server-dom-fb.`

Andrey Lunyov committed Oct 19, 2023 at 12:35 UTC b67ddaa434d590f312fee6f9acee24accd064192
2 files changed +2 -2
packages/react-server/src/ReactServerStreamConfigFB.js renamed
+1 -1
@@ -84,4 +84,4 @@ export function closeWithError(destination: Destination, error: mixed): void {
84 destination.error = error;
85 }
86
87 -export {createFastHashJS as createFastHash} from 'react-server/src/createFastHashJS';
87 +export {createFastHashJS as createFastHash} from './createFastHashJS';
packages/react-server/src/forks/ReactServerStreamConfig.dom-fb.js
+1 -1
@@ -7,4 +7,4 @@
7 * @flow
8 */
9
10 -export * from '../../../react-server-dom-fb/src/ReactServerStreamConfigFB';
10 +export * from '../ReactServerStreamConfigFB';