From 471c13ba1c3a98c5b741f1803d0959d170a66a64 Mon Sep 17 00:00:00 2001 From: Sebastian Markbage Date: Thu, 27 Jun 2024 09:59:09 -0400 Subject: [PATCH] Remove isPrimaryRenderer No longer used since there's no Context on the Server. --- .../src/forks/ReactFlightServerConfig.dom-legacy.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/react-server/src/forks/ReactFlightServerConfig.dom-legacy.js b/packages/react-server/src/forks/ReactFlightServerConfig.dom-legacy.js index 0c0d5113d994c..99591bb954ea9 100644 --- a/packages/react-server/src/forks/ReactFlightServerConfig.dom-legacy.js +++ b/packages/react-server/src/forks/ReactFlightServerConfig.dom-legacy.js @@ -11,10 +11,6 @@ import type {Request} from 'react-server/src/ReactFlightServer'; import type {ReactComponentInfo} from 'shared/ReactTypes'; import type {ReactClientValue} from 'react-server/src/ReactFlightServer'; -// Used to distinguish these contexts from ones used in other renderers. -// E.g. this can be used to distinguish legacy renderers from this modern one. -export const isPrimaryRenderer = true; - export type HintCode = string; export type HintModel = null; // eslint-disable-line no-unused-vars export type Hints = null;