silverwolf-x's picture
download
raw
751 Bytes
import { Form } from 'components'
export default function Page() {
const foo = async () => {
'use server'
return 'declarator arrow function expression'
}
async function bar() {
'use server'
return 'function declaration'
}
return (
<>
<Form action={foo} />
<Form action={bar} />
<Form
action={async () => {
'use server'
return 'arrow function expression'
}}
/>
<Form
action={async function () {
'use server'
return 'anonymous function expression'
}}
/>
<Form
action={async function baz() {
'use server'
return 'named function expression'
}}
/>
</>
)
}

Xet Storage Details

Size:
751 Bytes
·
Xet hash:
374d8592b69867ca8c2f5f4f73adcc817e32bb24b2878c7e677a2bae0e51cc71

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