Buckets:
silverwolf-x/project / crates /next-custom-transforms /tests /fixture /server-actions /server-graph /1 /input.js
| import { Button } from 'components' | |
| import deleteFromDb from 'db' | |
| export function Item({ id1, id2 }) { | |
| async function deleteItem() { | |
| 'use server' | |
| await deleteFromDb(id1) | |
| await deleteFromDb(id2) | |
| } | |
| return <Button action={deleteItem}>Delete</Button> | |
| } | |
| export default function Home() { | |
| const info = { | |
| name: 'John', | |
| test: 'test', | |
| } | |
| const action = async () => { | |
| 'use server' | |
| console.log(info.name) | |
| console.log(info.test) | |
| } | |
| return null | |
| } | |
Xet Storage Details
- Size:
- 481 Bytes
- Xet hash:
- 72b09bf2e13c896caa5f691d0dd4c963072fbaddf1974abc79fc8a3379999d04
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.