silverwolf-x's picture
download
raw
684 Bytes
import Link from 'next/link'
import { after } from 'next/server'
import React from 'react'
import { fetchRandomValue } from '../lib/fetch-random-value'
import { RefreshButton } from './refresh-button'
export async function SharedPage({ runtime }: { runtime: string }) {
const value = await fetchRandomValue(`render-${runtime}`)
after(async () => {
const value = await fetchRandomValue(`after-${runtime}`)
console.log('After:', value)
})
return (
<>
<h1>{runtime}</h1>
<p id="content">foo</p>
<p id="value">{value}</p>
<p>
<Link href="/">back to root</Link>
</p>
<p>
<RefreshButton />
</p>
</>
)
}

Xet Storage Details

Size:
684 Bytes
·
Xet hash:
ce9f90080e02a9b6ab4b52aad75d39132d6b64892574ef31ec0a6524e36654ac

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.