♫
📌 canary ▾
next.js
/
test
/
e2e
/
app-dir
/
use-cache
/
app
/
(partially-static)
/
use-action-state-separate-export
/
cached.ts
cached.ts
8 lines
102 B
'use cache'
const
getRandomValue
=
async
()
=>
{
return
Math.
random
()
}
export
{ getRandomValue }
v2.0.0
/
Go
SIGN IN