Buckets:
silverwolf-x/project / test /development /app-dir /cache-components-dev-warmup /fixtures /with-prefetch-config /app /simple /layout.tsx
| import { Suspense } from 'react' | |
| import { UncachedFetch, CachedFetch, CachedData } from '../data-fetching' | |
| export const unstable_instant = true | |
| export const unstable_prefetch = 'force-runtime' | |
| const CACHE_KEY = __dirname + '/__LAYOUT__' | |
| export default function Layout({ children }: { children: React.ReactNode }) { | |
| return ( | |
| <> | |
| {children} | |
| <section> | |
| <h1>Layout</h1> | |
| <p>This data is from a layout</p> | |
| <CachedData label="layout" cacheKey={CACHE_KEY} /> | |
| <CachedFetch label="layout" cacheKey={CACHE_KEY} /> | |
| <Suspense fallback="Loading uncached fetch..."> | |
| <UncachedFetch label="layout" cacheKey={CACHE_KEY} /> | |
| </Suspense> | |
| </section> | |
| </> | |
| ) | |
| } | |
Xet Storage Details
- Size:
- 728 Bytes
- Xet hash:
- 0c74f2e6d1b35657197d33a8f1a78a136a84f498dc378407755045027de716ca
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.