Comment Comment by xyzzy4747 You can use getServerSideProps to look at the cookies before rendering the page for a user.It’s slightly annoying though since you can’t use both getServerSideProps and getStaticProps on the same page. parent xyzzy4747 3 years ago
It’s slightly annoying though since you can’t use both getServerSideProps and getStaticProps on the same page.