silverwolf-x's picture
download
raw
267 Bytes
'use cache'
export async function Component({ foo }) {
const a = 123
async function fn() {
'use server'
console.log(a)
return { foo }
}
const data = await fn()
// @ts-expect-error: data is not a valid react child
return <div>{data}</div>
}

Xet Storage Details

Size:
267 Bytes
·
Xet hash:
5ea4b9e029b043325d63d240a103d32897e06e48b1f95ac68436a52b28560432

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