import Link from 'next/link'
export default function Page(props) {
return (
<>
{JSON.stringify(props)}
add query shallow
remove query shallow
to /another non-shallow
>
)
}
export const getServerSideProps = ({ params }) => {
return {
props: {
params,
random: Math.random(),
},
}
}