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 489ecc4 commit 9732259Copy full SHA for 9732259
packages/react-client/src/ReactFlightClient.js
@@ -556,7 +556,8 @@ export function parseModelString(
556
throw chunk.reason;
557
}
558
559
- case 'U': {
+ case 'u': {
560
+ // matches "$undefined"
561
// Special encoding for `undefined` which can't be serialized as JSON otherwise.
562
return undefined;
563
packages/react-server/src/ReactFlightServer.js
@@ -548,7 +548,7 @@ function serializeProviderReference(name: string): string {
548
549
550
function serializeUndefined(): string {
551
- return '$U';
+ return '$undefined';
552
553
554
function serializeClientReference(
0 commit comments