mirror of
https://github.com/tuono-labs/tuono
synced 2026-07-29 13:52:46 -07:00
feat: add benchmarks against nextjs (#26)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
export default async function Home(): Promise<JSX.Element> {
|
||||
const { data } = await mockServerSideAPI()
|
||||
return <h1>The random number is: {data}</h1>
|
||||
}
|
||||
|
||||
const mockServerSideAPI = async (): Promise<{ data: number }> => {
|
||||
return {
|
||||
data: Math.floor(Math.random() * 10),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user