Buckets:
| 'use client' | |
| import { useActionState } from 'react' | |
| export default function Form({ action }) { | |
| const [result, formAction] = useActionState(action, 'initial') | |
| return ( | |
| <form action={formAction}> | |
| <button>Submit</button> | |
| <p>{result}</p> | |
| </form> | |
| ) | |
| } | |
Xet Storage Details
- Size:
- 275 Bytes
- Xet hash:
- 7bc0e38f6340afc02a00e8b2b5b052bb2138b81fe16049b6df04fc39c4762c3a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.