Skip to content

Commit

Permalink
Remove isPrimaryRenderer
Browse files Browse the repository at this point in the history
No longer used since there's no Context on the Server.
  • Loading branch information
sebmarkbage committed Jun 27, 2024
1 parent 7817ea5 commit 471c13b
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<T: HintCode> = null; // eslint-disable-line no-unused-vars
export type Hints = null;
Expand Down

0 comments on commit 471c13b

Please sign in to comment.