rsnext/test/integration/gssp-pageProps-merge/pages/gssp.js
JJ Kasper bf184fceeb
Update to merge props from GSSP methods with _app pageProps (#11709)
* Add warning for pageProps GSSP conflict

* Update warning

* Update to merge pageProps instead of warn on conflict

* bump

* Update merging
2020-04-07 11:33:26 -04:00

2 lines
121 B
JavaScript

export const getServerSideProps = () => ({ props: { hi: 'hi' } })
export default props => <p>{JSON.stringify(props)}</p>