Skip to content

Commit a08dc6e

Browse files
committed
Delete Server Context
1 parent 893316d commit a08dc6e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+90
-1365
lines changed

packages/react-client/src/ReactFlightClient.js

-6
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ import {
4848
REACT_POSTPONE_TYPE,
4949
} from 'shared/ReactSymbols';
5050

51-
import {getOrCreateServerContext} from 'shared/ReactServerContextRegistry';
52-
5351
export type {CallServerCallback};
5452

5553
type UninitializedModel = string;
@@ -634,10 +632,6 @@ function parseModelString(
634632
// Symbol
635633
return Symbol.for(value.slice(2));
636634
}
637-
case 'P': {
638-
// Server Context Provider
639-
return getOrCreateServerContext(value.slice(2)).Provider;
640-
}
641635
case 'F': {
642636
// Server Reference
643637
const id = parseInt(value.slice(2), 16);

0 commit comments

Comments
 (0)