Skip to content

Commit 471c13b

Browse files
committed
Remove isPrimaryRenderer
No longer used since there's no Context on the Server.
1 parent 7817ea5 commit 471c13b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/react-server/src/forks/ReactFlightServerConfig.dom-legacy.js

-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ import type {Request} from 'react-server/src/ReactFlightServer';
1111
import type {ReactComponentInfo} from 'shared/ReactTypes';
1212
import type {ReactClientValue} from 'react-server/src/ReactFlightServer';
1313

14-
// Used to distinguish these contexts from ones used in other renderers.
15-
// E.g. this can be used to distinguish legacy renderers from this modern one.
16-
export const isPrimaryRenderer = true;
17-
1814
export type HintCode = string;
1915
export type HintModel<T: HintCode> = null; // eslint-disable-line no-unused-vars
2016
export type Hints = null;

0 commit comments

Comments
 (0)