Buckets:
silverwolf-x/project / crates /next-custom-transforms /tests /fixture /server-actions /server-graph /47 /input.js
| import { redirect } from 'navigation' | |
| async function action(formData) { | |
| 'use server' | |
| redirect( | |
| '/header?name=' + | |
| formData.get('name') + | |
| '&hidden-info=' + | |
| formData.get('hidden-info') | |
| ) | |
| } | |
| export default function Form() { | |
| return ( | |
| <form action={action}> | |
| <input type="text" name="hidden-info" defaultValue="hi" hidden /> | |
| <input type="text" name="name" id="name" required /> | |
| <button type="submit" id="submit"> | |
| Submit | |
| </button> | |
| </form> | |
| ) | |
| } | |
Xet Storage Details
- Size:
- 508 Bytes
- Xet hash:
- 87e805787d55363f76e6a85362d8c5cd7581cd7baa0da7e603d8816b2b657768
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.