@@ -454,7 +454,7 @@ describe('ReactFlightDOMForm', () => {
454
454
) ;
455
455
const postbackSsrStream = await ReactDOMServer . renderToReadableStream (
456
456
postbackResponse ,
457
- { experimental_formState : formState } ,
457
+ { formState : formState } ,
458
458
) ;
459
459
await readIntoContainer ( postbackSsrStream ) ;
460
460
@@ -468,7 +468,7 @@ describe('ReactFlightDOMForm', () => {
468
468
// also does. Remove dev condition once FlightServer.act() is available.
469
469
await act ( ( ) => {
470
470
ReactDOMClient . hydrateRoot ( container , postbackResponse , {
471
- experimental_formState : formState ,
471
+ formState : formState ,
472
472
} ) ;
473
473
} ) ;
474
474
expect ( container . textContent ) . toBe ( '121' ) ;
@@ -552,7 +552,7 @@ describe('ReactFlightDOMForm', () => {
552
552
) ;
553
553
const postbackSsrStream = await ReactDOMServer . renderToReadableStream (
554
554
postbackResponse ,
555
- { experimental_formState : formState } ,
555
+ { formState : formState } ,
556
556
) ;
557
557
await readIntoContainer ( postbackSsrStream ) ;
558
558
@@ -584,7 +584,7 @@ describe('ReactFlightDOMForm', () => {
584
584
) ;
585
585
const postbackSsrStream2 = await ReactDOMServer . renderToReadableStream (
586
586
postbackResponse2 ,
587
- { experimental_formState : formState2 } ,
587
+ { formState : formState2 } ,
588
588
) ;
589
589
await readIntoContainer ( postbackSsrStream2 ) ;
590
590
@@ -668,7 +668,7 @@ describe('ReactFlightDOMForm', () => {
668
668
) ;
669
669
const postbackSsrStream = await ReactDOMServer . renderToReadableStream (
670
670
postbackResponse ,
671
- { experimental_formState : formState } ,
671
+ { formState : formState } ,
672
672
) ;
673
673
await readIntoContainer ( postbackSsrStream ) ;
674
674
@@ -744,7 +744,7 @@ describe('ReactFlightDOMForm', () => {
744
744
) ;
745
745
const postbackSsrStream = await ReactDOMServer . renderToReadableStream (
746
746
postbackResponse ,
747
- { experimental_formState : formState } ,
747
+ { formState : formState } ,
748
748
) ;
749
749
await readIntoContainer ( postbackSsrStream ) ;
750
750
@@ -772,7 +772,7 @@ describe('ReactFlightDOMForm', () => {
772
772
) ;
773
773
const postbackSsrStream2 = await ReactDOMServer . renderToReadableStream (
774
774
postbackResponse2 ,
775
- { experimental_formState : formState2 } ,
775
+ { formState : formState2 } ,
776
776
) ;
777
777
await readIntoContainer ( postbackSsrStream2 ) ;
778
778
0 commit comments