mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
14 lines
250 B
TypeScript
14 lines
250 B
TypeScript
import { useEffect } from 'react'
|
|
|
|
export default function Page() {
|
|
useEffect(() => {
|
|
console.log('use-effect-call-log')
|
|
}, [])
|
|
return <p>hello world</p>
|
|
}
|
|
|
|
// Mark as dynamic
|
|
export function getServerSideProps() {
|
|
return { props: {} }
|
|
}
|