629884af7d
- Update Next.js version to 10.0.0 - Update the other dependencies - Modify `next.config.js` to prevent circular `__self` and `__source`in dev env (ref: https://github.com/developit/nextjs-preact-demo/issues/25)
9 lines
184 B
JavaScript
9 lines
184 B
JavaScript
export default function SSR({ framework }) {
|
|
return <div>{framework} ssr example</div>
|
|
}
|
|
|
|
export function getServerSideProps() {
|
|
return {
|
|
props: { framework: 'preact' },
|
|
}
|
|
}
|