Buckets:
silverwolf-x/project / test /e2e /app-dir /dynamic-data /fixtures /require-static /app /headers /page.js
| import { headers } from 'next/headers' | |
| export const dynamic = 'error' | |
| export default async function Page() { | |
| return ( | |
| <div> | |
| <section> | |
| This example uses `headers()` but is configured with `dynamic = 'error'` | |
| which should cause the page to fail to build | |
| </section> | |
| <section id="headers"> | |
| <h3>headers</h3> | |
| {Array.from((await headers()).entries()).map(([key, value]) => { | |
| if (key === 'cookie') return null | |
| return ( | |
| <div key={key}> | |
| <h4>{key}</h4> | |
| <pre className={key}>{value}</pre> | |
| </div> | |
| ) | |
| })} | |
| </section> | |
| </div> | |
| ) | |
| } | |
Xet Storage Details
- Size:
- 672 Bytes
- Xet hash:
- 12d453200af01f5c43fa73bdc968bcac4fcef9b35bf7d04890383f3b5daa2647
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.