File tree Expand file tree Collapse file tree 8 files changed +14
-14
lines changed
example-nextjs14/src/app/(tests)
example-nextjs15/src/app/(tests) Expand file tree Collapse file tree 8 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ export default function Home() {
1616 </ header >
1717
1818 < div className = "flex flex-col md:flex-row gap-8" >
19- < Suspense >
19+ < Suspense fallback = { null } >
2020 < Form className = "flex max-h-[850px] flex-col md:flex-row gap-8 basis-1/2" />
2121 </ Suspense >
22- < Suspense >
22+ < Suspense fallback = { null } >
2323 < Status
2424 className = "flex-1 max-h-[450px] bg-gray-100
2525 rounded-lg p-4 flex flex-col shadow-md border border-grey
Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ export function Component() {
3131 } } > Reload</ button >
3232
3333 < div style = { { display : 'flex' , flexDirection : 'column' , gap : "12px" } } >
34- < Suspense >
34+ < Suspense fallback = { null } >
3535 < UseStateComp />
3636 </ Suspense >
3737
38- < Suspense >
38+ < Suspense fallback = { null } >
3939 { urlState . showForm && < UseStateComp showCheckbox = { false } /> }
4040 </ Suspense >
4141 </ div >
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ import React, { Suspense } from 'react';
33import { Component } from './Component' ;
44
55export default async function Page ( ) {
6- return ( < Suspense > < Component /> </ Suspense > )
6+ return ( < Suspense fallback = { null } > < Component /> </ Suspense > )
77}
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ const Page = () => {
1212 < h2 > Page for testing purposes</ h2 >
1313 </ div >
1414 < div className = "flex gap-4" >
15- < Suspense >
15+ < Suspense fallback = { null } >
1616 < Comp1 className = "basis-1/2" />
1717 </ Suspense >
18- < Suspense >
18+ < Suspense fallback = { null } >
1919 < Comp2 className = "basis-1/2" />
2020 </ Suspense >
2121 </ div >
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ export default function Home() {
1414 </ header >
1515
1616 < div className = "flex flex-col md:flex-row gap-8" >
17- < Suspense >
17+ < Suspense fallback = { null } >
1818 < Form className = "flex max-h-[850px] flex-col md:flex-row gap-8 basis-1/2" />
1919 </ Suspense >
20- < Suspense >
20+ < Suspense fallback = { null } >
2121 < Status
2222 className = "flex-1 max-h-[450px] bg-gray-100 rounded-lg p-4 flex flex-col shadow-md border border-grey basis-1/2 grow-0"
2323 />
Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ export function Component() {
3131 } } > Reload</ button >
3232
3333 < div style = { { display : 'flex' , flexDirection : 'column' , gap : "12px" } } >
34- < Suspense >
34+ < Suspense fallback = { null } >
3535 < UseStateComp />
3636 </ Suspense >
3737
38- < Suspense >
38+ < Suspense fallback = { null } >
3939 { urlState . showForm && < UseStateComp showCheckbox = { false } /> }
4040 </ Suspense >
4141 </ div >
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ import React, { Suspense } from 'react';
33import { Component } from './Component' ;
44
55export default async function Page ( ) {
6- return ( < Suspense > < Component /> </ Suspense > )
6+ return ( < Suspense fallback = { null } > < Component /> </ Suspense > )
77}
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ const Page = () => {
1010 < h2 > Page for testing purposes</ h2 >
1111 </ div >
1212 < div className = "flex gap-4" >
13- < Suspense >
13+ < Suspense fallback = { null } >
1414 < Comp1 className = "basis-1/2" />
1515 </ Suspense >
16- < Suspense >
16+ < Suspense fallback = { null } >
1717 < Comp2 className = "basis-1/2" />
1818 </ Suspense >
1919 </ div >
You can’t perform that action at this time.
0 commit comments