silverwolf-x's picture
download
raw
257 Bytes
'use server'
async function Component({ foo }) {
const a = 123
const fn = async () => {
'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:
257 Bytes
·
Xet hash:
1001f23ab4f81331482c1d58bb051d62ab14d8e7ca41683326a21d1a55ba964c

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