Skip to content

Commit

Permalink
[meta-only] Move ReactServerStreamConfigFB to react-server from `re…
Browse files Browse the repository at this point in the history
…act-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.`
  • Loading branch information
alunyov committed Oct 19, 2023
1 parent 9617d39 commit b67ddaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ export function closeWithError(destination: Destination, error: mixed): void {
destination.error = error;
}

export {createFastHashJS as createFastHash} from 'react-server/src/createFastHashJS';
export {createFastHashJS as createFastHash} from './createFastHashJS';
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
* @flow
*/

export * from '../../../react-server-dom-fb/src/ReactServerStreamConfigFB';
export * from '../ReactServerStreamConfigFB';

0 comments on commit b67ddaa

Please sign in to comment.