@@ -371,7 +371,6 @@ describe('ReactDeferredValue', () => {
371371 } ) ;
372372 } ) ;
373373
374- // @gate enableUseDeferredValueInitialArg
375374 it ( 'supports initialValue argument' , async ( ) => {
376375 function App ( ) {
377376 const value = useDeferredValue ( 'Final' , 'Initial' ) ;
@@ -388,7 +387,6 @@ describe('ReactDeferredValue', () => {
388387 expect ( root ) . toMatchRenderedOutput ( 'Final' ) ;
389388 } ) ;
390389
391- // @gate enableUseDeferredValueInitialArg
392390 it ( 'defers during initial render when initialValue is provided, even if render is not sync' , async ( ) => {
393391 function App ( ) {
394392 const value = useDeferredValue ( 'Final' , 'Initial' ) ;
@@ -406,7 +404,6 @@ describe('ReactDeferredValue', () => {
406404 expect ( root ) . toMatchRenderedOutput ( 'Final' ) ;
407405 } ) ;
408406
409- // @gate enableUseDeferredValueInitialArg
410407 it (
411408 'if a suspended render spawns a deferred task, we can switch to the ' +
412409 'deferred task without finishing the original one (no Suspense boundary)' ,
@@ -439,7 +436,6 @@ describe('ReactDeferredValue', () => {
439436 } ,
440437 ) ;
441438
442- // @gate enableUseDeferredValueInitialArg
443439 it (
444440 'if a suspended render spawns a deferred task, we can switch to the ' +
445441 'deferred task without finishing the original one (no Suspense boundary, ' +
@@ -479,7 +475,6 @@ describe('ReactDeferredValue', () => {
479475 } ,
480476 ) ;
481477
482- // @gate enableUseDeferredValueInitialArg
483478 it (
484479 'if a suspended render spawns a deferred task, we can switch to the ' +
485480 'deferred task without finishing the original one (Suspense boundary)' ,
@@ -520,7 +515,6 @@ describe('ReactDeferredValue', () => {
520515 } ,
521516 ) ;
522517
523- // @gate enableUseDeferredValueInitialArg
524518 it (
525519 'if a suspended render spawns a deferred task that also suspends, we can ' +
526520 'finish the original task if that one loads first' ,
@@ -556,7 +550,6 @@ describe('ReactDeferredValue', () => {
556550 } ,
557551 ) ;
558552
559- // @gate enableUseDeferredValueInitialArg
560553 it (
561554 'if there are multiple useDeferredValues in the same tree, only the ' +
562555 'first level defers; subsequent ones go straight to the final value, to ' +
@@ -604,7 +597,6 @@ describe('ReactDeferredValue', () => {
604597 } ,
605598 ) ;
606599
607- // @gate enableUseDeferredValueInitialArg
608600 it ( 'avoids a useDeferredValue waterfall when separated by a Suspense boundary' , async ( ) => {
609601 // Same as the previous test but with a Suspense boundary separating the
610602 // two useDeferredValue hooks.
@@ -649,7 +641,6 @@ describe('ReactDeferredValue', () => {
649641 expect ( root ) . toMatchRenderedOutput ( 'Content' ) ;
650642 } ) ;
651643
652- // @gate enableUseDeferredValueInitialArg
653644 // @gate enableActivity
654645 it ( 'useDeferredValue can spawn a deferred task while prerendering a hidden tree' , async ( ) => {
655646 function App ( ) {
@@ -696,7 +687,6 @@ describe('ReactDeferredValue', () => {
696687 expect ( root ) . toMatchRenderedOutput ( < div > Final</ div > ) ;
697688 } ) ;
698689
699- // @gate enableUseDeferredValueInitialArg
700690 // @gate enableActivity
701691 it ( 'useDeferredValue can prerender the initial value inside a hidden tree' , async ( ) => {
702692 function App ( { text} ) {
@@ -755,7 +745,6 @@ describe('ReactDeferredValue', () => {
755745 expect ( root ) . toMatchRenderedOutput ( < div > B</ div > ) ;
756746 } ) ;
757747
758- // @gate enableUseDeferredValueInitialArg
759748 // @gate enableActivity
760749 it (
761750 'useDeferredValue skips the preview state when revealing a hidden tree ' +
@@ -796,7 +785,6 @@ describe('ReactDeferredValue', () => {
796785 } ,
797786 ) ;
798787
799- // @gate enableUseDeferredValueInitialArg
800788 // @gate enableActivity
801789 it (
802790 'useDeferredValue does not skip the preview state when revealing a ' +
0 commit comments