Buckets:
silverwolf-x/project / test /development /app-dir /cache-components-dev-warmup /fixtures /without-prefetch-config /app /simple /layout.tsx
| import { Suspense } from 'react' | |
| import { UncachedFetch, CachedFetch, CachedData } from '../data-fetching' | |
| 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:
- 641 Bytes
- Xet hash:
- 3342e48df2a94f2abad8fb3e5b5f8ad5f82bf5ca2d7296db7a13e377c414e8ac
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.