Buckets:
| import { Form } from './form' | |
| import { getSentinelValue } from '../getSentinelValue' | |
| export default function Page() { | |
| const simpleValue = 'result' | |
| // JSX has debug info, which affects the serialized result | |
| const jsxValue = <span>and more</span> | |
| // Async components emit timing chunks | |
| const timedValue = <HasTimingInfo /> | |
| return ( | |
| <> | |
| <Form | |
| action={async () => { | |
| 'use server' | |
| return ( | |
| <> | |
| {simpleValue} {jsxValue} {timedValue} | |
| </> | |
| ) | |
| }} | |
| /> | |
| <div id="page">{getSentinelValue()}</div> | |
| </> | |
| ) | |
| } | |
| async function HasTimingInfo() { | |
| await Promise.resolve() | |
| return 'and even more' | |
| } | |
Xet Storage Details
- Size:
- 698 Bytes
- Xet hash:
- 88156a5aebf562d441c90bd6324da80610839e5bcd0a1fd08cda8567ee9ce526
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.