We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87c52fd commit c0dd83fCopy full SHA for c0dd83f
packages/react-client/src/ReactFlightClient.js
@@ -553,7 +553,8 @@ export function parseModelString(
553
throw chunk.reason;
554
}
555
556
- case 'U': {
+ case 'u': {
557
+ // matches "$undefined"
558
// Special encoding for `undefined` which can't be serialized as JSON otherwise.
559
return undefined;
560
packages/react-server/src/ReactFlightServer.js
@@ -535,7 +535,7 @@ function serializeProviderReference(name: string): string {
535
536
537
function serializeUndefined(): string {
538
- return '$U';
+ return '$undefined';
539
540
541
function serializeClientReference(
0 commit comments