File size: 414 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
export default async function Page() {
const secret = (await fetch('http://fake.url/secret').then((res) =>
res.text()
)) as any
const magicNumber = (await fetch('http://fake.url/magic-number').then((res) =>
res.text()
)) as any
return (
<>
<div id="update">touch to trigger HMR</div>
<div id="secret">{secret}</div>
<div id="magic-number">{magicNumber}</div>
</>
)
}
|