Files
JJ KasperandGitHub 59714db16d Update server-only changes HMR handling (#34298)
* Update server-only changes HMR handling

* Add failing tests for GS(S)P server only changes

* update test

* normalize backslashes

* Update to xor the chunk hashes

* remove test change

* remove other test change
2022-02-16 16:32:24 -06:00

21 lines
318 B
JavaScript

export default function Gssp(props) {
return (
<>
<p id="change">change me</p>
<p id="props">{JSON.stringify(props)}</p>
</>
)
}
export const getServerSideProps = ({ params }) => {
const count = 1
return {
props: {
count,
params,
random: Math.random(),
},
}
}