rsnext/test/integration/production/pages/fully-dynamic.js
Tim Neutkens 260707de68
Add etag support for getServerSideProps/getStaticProps pages (#14760)
Fixes #11711

Also cleaned up some extra code.

This was already supported on the Vercel edge network.
2020-07-01 14:59:18 +00:00

11 lines
213 B
JavaScript

export async function getServerSideProps() {
return {
props: {
myDynamicProp: 'hello world',
},
}
}
export default function FullyDynamic({ myDynamicProp }) {
return <h1>{myDynamicProp}</h1>
}