Buckets:
| import { use } from 'react' | |
| export const revalidate = 0 | |
| async function getData() { | |
| return { | |
| message: 'hello from layout', | |
| } | |
| } | |
| export default function GsspLayout(props) { | |
| const data = use(getData()) | |
| return ( | |
| <> | |
| <h1 id="layout-message">{data.message}</h1> | |
| {props.children} | |
| </> | |
| ) | |
| } | |
Xet Storage Details
- Size:
- 317 Bytes
- Xet hash:
- f1200650011563fc612cd3e2d386e96e99db73b6236b3fdbc7b5f9f94d346058
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.