This guide was written back when only getInitialProps existed and only applies to that method. This does not apply to getServerSideProps, and it doesn't work with getServerSideProps because you can't use both getInitialProps and getServerSideProps on the same page. Sometimes when rendering, you might want to perform a redirect. For example, you might have an HOC that only renders the component whe