silverwolf-x's picture
download
raw
357 Bytes
import { use } from 'react'
async function getData() {
await new Promise((resolve) => setTimeout(resolve, 5000))
return {
message: 'hello from slow layout',
}
}
export default function GspLayout(props) {
const data = use(getData())
return (
<>
<h1 id="slow-layout-message">{data.message}</h1>
{props.children}
</>
)
}

Xet Storage Details

Size:
357 Bytes
·
Xet hash:
7a10c83074fe2c299a84babe266b529b403b73b937a302fdafbeecb09c3ae4a1

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.