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

Xet Storage Details

Size:
254 Bytes
·
Xet hash:
5adae69f50b89133d9f73e4f8ce061d573e6cd620d17ada8bd1567df27cbd613

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